aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-06-04 13:06:28 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-06-04 13:06:28 +0200
commit77a27e730b2e8baed2a8b954e4da5bb162d9d824 (patch)
treeae3f3b5e95df4d6eeb70cccbd6ac7ea5fe4240cf /src/widgets
parentAdding plugin action to the menu bar (diff)
downloadsmolbote-77a27e730b2e8baed2a8b954e4da5bb162d9d824.tar.xz
Browser class refactoring
Diffstat (limited to 'src/widgets')
-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 {