diff options
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r-- | src/mainwindow/mainwindow.cpp | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index e465a4f..8f635c9 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -9,10 +9,14 @@ #include "mainwindow.h" #include "addressbar.h" #include "browser.h" +#include "config.h" +#include "configuration.h" +#include "profilemanager.h" #include "session.h" #include "subwindow/subwindow.h" #include "ui_mainwindow.h" #include "webengine/webview.h" +#include "webprofile.h" #include "widgets/dockwidget.h" #include "widgets/navigationbar.h" #include "widgets/searchform.h" @@ -34,10 +38,6 @@ #include <QToolBar> #include <QUrl> #include <QVBoxLayout> -#include "configuration.h" -#include "profilemanager.h" -#include "webprofile.h" -#include "config.h" #ifdef CONFIG_PLASMA_BLUR #include <KWindowEffects> #endif @@ -285,18 +285,6 @@ MainWindow::~MainWindow() disconnect(addressBar); } -void MainWindow::addAction(ActionLocation where, QAction *action) -{ - switch(where) { - case ToolsMenu: - ui->menuTools->addAction(action); - break; - default: - QMainWindow::addAction(action); - break; - } -} - void MainWindow::addDockWidget(Qt::DockWidgetArea area, QWidget *widget) { QDockWidget *lastDock = nullptr; |