Commit 5e840eb1 authored by Jonathan Esk-Riddell's avatar Jonathan Esk-Riddell 🏄
Browse files

use new signal/slot syntax

parent a2bb243b
......@@ -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()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment