From 23a7f3baa33265519840609dc54e950615ec39b1 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 3 Jan 2020 18:04:08 +0200 Subject: Merge some QoL improvements from staging branch - Build executable in top-level buildroot - Use meson sourceset - Pull in poi-crash and poi-update from staging - Remove extraneous scripts in tools/ - Pull in configure scripts in scripts/ --- src/mainwindow/mainwindow.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/mainwindow/mainwindow.cpp') diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index 292d922..558fe49 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -9,15 +9,14 @@ #include "mainwindow.h" #include "addressbar.h" #include "browser.h" -#include "conf.hpp" #include "configuration.h" #include "menubar.h" -#include "webengine/webprofilemanager.h" #include "session/session.h" #include "session/sessiondialog.h" #include "subwindow/subwindow.h" -#include "webengine/webview.h" #include "webengine/webprofile.h" +#include "webengine/webprofilemanager.h" +#include "webengine/webview.h" #include "widgets/dockwidget.h" #include "widgets/navigationbar.h" #include "widgets/searchform.h" @@ -35,9 +34,6 @@ #include #include #include -#ifdef CONFIG_PLASMA_BLUR -#include -#endif MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) @@ -46,11 +42,6 @@ MainWindow::MainWindow(QWidget *parent) m_menuBar = new MenuBar(this); this->setMenuBar(m_menuBar); -#ifdef CONFIG_PLASMA_BLUR - setAttribute(Qt::WA_TranslucentBackground, true); - KWindowEffects::enableBlurBehind(this->winId(), true); -#endif - Configuration config; // create UI -- cgit v1.2.1