diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-06-04 13:06:28 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-06-04 13:06:28 +0200 |
commit | 77a27e730b2e8baed2a8b954e4da5bb162d9d824 (patch) | |
tree | ae3f3b5e95df4d6eeb70cccbd6ac7ea5fe4240cf /src/widgets | |
parent | Adding plugin action to the menu bar (diff) | |
download | smolbote-77a27e730b2e8baed2a8b954e4da5bb162d9d824.tar.xz |
Browser class refactoring
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/mainwindowmenubar.cpp | 4 |
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 { |