modernize: Require member function pointers for Settings::notify()
[quassel.git] / src / qtui / qtui.cpp
index 3bdb6e1..c69bf5e 100644 (file)
@@ -90,7 +90,7 @@ void QtUi::init()
     _mainWin->init();
 
     QtUiSettings uiSettings;
-    uiSettings.initAndNotify("UseSystemTrayIcon", this, SLOT(useSystemTrayChanged(QVariant)), true);
+    uiSettings.initAndNotify("UseSystemTrayIcon", this, &QtUi::useSystemTrayChanged, true);
 
     GraphicalUi::init(); // needs to be called after the mainWin is initialized
 }