summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-12-23 17:09:52 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-12-23 18:02:27 (GMT)
commitfeab54913e13c9a1af999039d473fce75d39be1b (patch)
tree3210242dc9736c2ae60046e4cdcdc811473d6775
parent3e73c64177d088d49bd3577de4f982c5928c1f55 (diff)
downloadswift-feab54913e13c9a1af999039d473fce75d39be1b.zip
swift-feab54913e13c9a1af999039d473fce75d39be1b.tar.bz2
Remove warning in FreeDesktopNotifier.
We don't use callbacks, so purgeCallbacks is correct. Change-Id: I711f37380888791d5ccc178e13039163b4c193db
-rw-r--r--Swift/QtUI/FreeDesktopNotifier.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swift/QtUI/FreeDesktopNotifier.h b/Swift/QtUI/FreeDesktopNotifier.h
index 4ba02b4..6da7621 100644
--- a/Swift/QtUI/FreeDesktopNotifier.h
+++ b/Swift/QtUI/FreeDesktopNotifier.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010 -2012 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -15,9 +15,8 @@ namespace Swift {
FreeDesktopNotifier(const std::string& name);
virtual void showMessage(Type type, const std::string& subject, const std::string& description, const boost::filesystem::path& picture, boost::function<void()> callback);
- virtual void purgeCallbacks() {
-#warning FIXME implement.
- };
+ virtual void purgeCallbacks() {}
+
private:
std::string applicationName;
QtCachedImageScaler imageScaler;