From 74361f5b05dc0a255f489256bd25065ef20f5dee Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 1 Apr 2018 13:19:07 +0200 Subject: Page menus refactoring - Split off menus into their own classes Page tools menu - Shows injected scripts - Shows dev tools page in another dialog --- src/mainwindow/mainwindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mainwindow') diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index 6dc7635..db059a2 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -7,16 +7,16 @@ */ #include "mainwindow.h" +#include "addressbar/urllineedit.h" #include "forms/aboutdialog.h" #include "mainwindow/widgets/searchform.h" #include "ui_mainwindow.h" #include "widgets/mainwindowmenubar.h" #include #include +#include #include #include -#include "addressbar/urllineedit.h" -#include MainWindow::MainWindow(std::shared_ptr config, QWidget *parent) : QMainWindow(parent) @@ -73,7 +73,6 @@ MainWindow::MainWindow(std::shared_ptr config, QWidget *parent) tabBar->currentView()->load(QUrl::fromUserInput(url)); }); connect(tabBar, &MainWindowTabBar::currentTabChanged, this, &MainWindow::handleTabChanged); - //connect(tabBar, SIGNAL(currentTabChanged(WebView *)), this, SLOT(handleTabChanged(WebView *))); // loading bar ui->statusBar->addPermanentWidget(m_progressBar); -- cgit v1.2.1