summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-30 17:02:35 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-30 17:02:35 (GMT)
commit5e840eb1a4f7f031cbad7f624769878853c52e35 (patch)
treec6b3f1f21967e144332177a1d6af346d1185fd88
parenta2bb243bd458290ae61f91f1e43e2e56a499bb84 (diff)
use new signal/slot syntax
-rw-r--r--app/kipiinterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/kipiinterface.cpp b/app/kipiinterface.cpp
index 851c169..da3d4d5 100644
--- a/app/kipiinterface.cpp
+++ b/app/kipiinterface.cpp
@@ -343,8 +343,8 @@ void KIPIInterface::loadOnePlugin()
if (KIO::DesktopExecParser::hasSchemeHandler(QUrl("appstream://photolayoutseditor.desktop"))) {
d->mPluginMenu->addAction(d->mInstallPluginAction);
d->mInstallPluginAction->setEnabled(true);
- QObject::connect(d->mInstallPluginAction, SIGNAL(triggered(bool)),
- this, SLOT(slotInstallPlugins(bool)));
+ QObject::connect(d->mInstallPluginAction, &QAction::triggered,
+ this, &KIPIInterface::slotInstallPlugins);
d->mPluginWatcher = new QFileSystemWatcher(d->mMainWindow);
d->mPluginWatcher->addPaths(QCoreApplication::libraryPaths());
connect(d->mPluginWatcher, SIGNAL(directoryChanged(QString)), SLOT(packageFinished()));