From f480cd510a19c65a9bfa780b4cfc94a63c8762e7 Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Wed, 27 May 2020 15:59:38 +0200 Subject: [PATCH] Disable ManhattanStyle, that fixes background colors of some widgets under (at least) Plasma desktop manager. --- GUI/coregui/mainwindow/mainwindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/GUI/coregui/mainwindow/mainwindow.cpp b/GUI/coregui/mainwindow/mainwindow.cpp index 3330bc46967..6f5976431f5 100644 --- a/GUI/coregui/mainwindow/mainwindow.cpp +++ b/GUI/coregui/mainwindow/mainwindow.cpp @@ -28,7 +28,6 @@ #include "fancytabwidget.h" #include "hostosinfo.h" #include "mainwindow_constants.h" -#include "manhattanstyle.h" #include "progressbar.h" #include "projectmanager.h" #include "stylehelper.h" @@ -180,8 +179,6 @@ void MainWindow::initApplication() if (!GUI_OS_Utils::HostOsInfo::isMacHost()) QApplication::setWindowIcon(QIcon(":/images/BornAgain.ico")); - QString baseName = QApplication::style()->objectName(); - qApp->setStyle(new ManhattanStyle(baseName)); Manhattan::Utils::StyleHelper::setBaseColor(QColor(Constants::MAIN_THEME_COLOR)); setDockNestingEnabled(true); -- GitLab