Commit 694efc31 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Reload private browser on database change

parent fe732049
......@@ -25,6 +25,7 @@
#include <KSharedConfig>
#include <KMimeTypeTrader>
#include <KIO/CommandLauncherJob>
#include <KSycoca>
WebshortcutRunner::WebshortcutRunner(QObject *parent, const QVariantList& args)
: Plasma::AbstractRunner(parent, args),
......@@ -42,6 +43,7 @@ WebshortcutRunner::WebshortcutRunner(QObject *parent, const QVariantList& args)
QStringLiteral("configure"), this, SLOT(loadSyntaxes()));
loadSyntaxes();
configurePrivateBrowsingActions();
connect(KSycoca::self(), QOverload<>::of(&KSycoca::databaseChanged), this, &WebshortcutRunner::configurePrivateBrowsingActions);
}
WebshortcutRunner::~WebshortcutRunner()
......
Markdown is supported
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