Commit 30e387dd authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Shut up and remove unused variable

parent 1d49715f
......@@ -181,8 +181,6 @@ void Menu::start(uint id)
if (reply.isError()) {
qWarning() << "Failed to start subscription to" << id << "from" << m_serviceName << "at" << m_menuObjectPath << reply.error();
} else {
const bool wasSubscribed = !m_subscriptions.isEmpty();
const auto menus = reply.value();
for (auto menu : menus) {
m_menus[menu.id].append(menus);
......@@ -435,7 +433,7 @@ bool Menu::registerDBusObject()
// DBus
bool Menu::AboutToShow(int id)
{
qDebug() << "about to show" << id << calledFromDBus();
//qDebug() << "about to show" << id << calledFromDBus();
int subscription;
int sectionId;
......@@ -454,7 +452,7 @@ bool Menu::AboutToShow(int id)
void Menu::Event(int id, const QString &eventId, const QDBusVariant &data, uint timestamp)
{
qDebug() << "event" << id << eventId << data.variant() << timestamp;
Q_UNUSED(data);
if (eventId == QLatin1String("opened")) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment