aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/mainwindowmenubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/mainwindowmenubar.cpp')
-rw-r--r--src/widgets/mainwindowmenubar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/mainwindowmenubar.cpp b/src/widgets/mainwindowmenubar.cpp
index cd27a98..4ad9d67 100644
--- a/src/widgets/mainwindowmenubar.cpp
+++ b/src/widgets/mainwindowmenubar.cpp
@@ -54,8 +54,8 @@ MainWindowMenuBar::MainWindowMenuBar(MainWindow *parent) :
toolsMenu->addSeparator();
toolsMenu->addAction(tr("Filter"), qApp->blocklists(), SLOT(show()), QKeySequence::fromString(sSettings->value("blocker.shortcut").toString()));
- if(qApp->plugin()) {
- GuiInterface *gui = qobject_cast<GuiInterface *>(qApp->plugin());
+ if(qApp->plugin("")) {
+ GuiInterface *gui = qobject_cast<GuiInterface *>(qApp->plugin(""));
if(gui) {
toolsMenu->addAction(gui->action());
} else {