Commit 80c2c695 authored by Jonathan Esk-Riddell's avatar Jonathan Esk-Riddell 🏄
Browse files

no need to set parent

parent d5a0bacf
......@@ -346,7 +346,6 @@ void KIPIInterface::loadOnePlugin()
d->mInstallPluginAction->setEnabled(true);
QObject::connect(d->mInstallPluginAction, &QAction::triggered,
this, [=](){QDesktopServices::openUrl(QUrl(KIPI_PLUGINS_URL));});
d->mPluginWatcher.setParent(d->mMainWindow);
d->mPluginWatcher.addPaths(QCoreApplication::libraryPaths());
connect(&d->mPluginWatcher, &QFileSystemWatcher::directoryChanged, this, &KIPIInterface::packageFinished);
} else {
......
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