summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtDBUSURIHandler.cpp')
-rw-r--r--Swift/QtUI/QtDBUSURIHandler.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/Swift/QtUI/QtDBUSURIHandler.cpp b/Swift/QtUI/QtDBUSURIHandler.cpp
index c873676..a1446c3 100644
--- a/Swift/QtUI/QtDBUSURIHandler.cpp
+++ b/Swift/QtUI/QtDBUSURIHandler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2016 Isode Limited.
+ * Copyright (c) 2011-2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -13,10 +13,13 @@
using namespace Swift;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-member-function"
+
namespace {
class DBUSAdaptor: public QDBusAbstractAdaptor {
Q_OBJECT
- Q_CLASSINFO("D-Bus Interface", "im.swift.Swift.URIHandler");
+ Q_CLASSINFO("D-Bus Interface", "im.swift.Swift.URIHandler")
public:
DBUSAdaptor(QtDBUSURIHandler* uriHandler) : QDBusAbstractAdaptor(uriHandler), uriHandler(uriHandler) {
}
@@ -38,4 +41,6 @@ QtDBUSURIHandler::QtDBUSURIHandler() {
connection.registerObject("/", this);
}
+#pragma clang diagnostic pop
+
#include "QtDBUSURIHandler.moc"