summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <[email protected]>2017-01-09 13:48:58 +0000
committerDavid Edmundson <[email protected]>2017-01-09 13:50:04 +0000
commit905f72b2336b9e250e0e8961879c2b3840ff385e (patch)
tree8fe9cda134b019f0982e762c64f94fdbee474060
parent036b545baaa6969ae1f8740a352b2c3969d18c33 (diff)
Sort out compile warnings on unused vars
Test Plan: Compiles Reviewers: #plasma, markg Reviewed By: markg Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4028
-rw-r--r--libdbusmenuqt/dbusmenuimporter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdbusmenuqt/dbusmenuimporter.cpp b/libdbusmenuqt/dbusmenuimporter.cpp
index ea90a08..9494c95 100644
--- a/libdbusmenuqt/dbusmenuimporter.cpp
+++ b/libdbusmenuqt/dbusmenuimporter.cpp
@@ -55,9 +55,6 @@ static QTime sChrono;
static const char *DBUSMENU_INTERFACE = "com.canonical.dbusmenu";
-static const int ABOUT_TO_SHOW_TIMEOUT = 3000;
-static const int REFRESH_TIMEOUT = 4000;
-
static const char *DBUSMENU_PROPERTY_ID = "_dbusmenu_id";
static const char *DBUSMENU_PROPERTY_ICON_NAME = "_dbusmenu_icon_name";
static const char *DBUSMENU_PROPERTY_ICON_DATA_HASH = "_dbusmenu_icon_data_hash";
@@ -321,6 +318,7 @@ DBusMenuImporter::~DBusMenuImporter()
void DBusMenuImporter::slotLayoutUpdated(uint revision, int parentId)
{
+ Q_UNUSED(revision)
if (d->m_idsRefreshedByAboutToShow.remove(parentId)) {
return;
}