Remove QTabBar custom style

This commit is contained in:
joshua
2019-11-14 21:24:55 +01:00
parent 740b0942b7
commit 0b196b6caf

View File

@@ -1236,13 +1236,11 @@ if defined(Q_OS_WIN)
void QETApp::useSystemPalette(bool use) {
if (use) {
qApp->setPalette(initial_palette_);
qApp->setStyleSheet(
"QTabBar::tab:!selected { background-color: transparent; }"
"QTabBar::tab:selected { background-color: transparent; font: bold; color: black;}"
"QAbstractScrollArea#mdiarea {"
"background-color -> setPalette(initial_palette_);"
"}"
);
qApp->setStyleSheet(
"QAbstractScrollArea#mdiarea {"
"background-color -> setPalette(initial_palette_);"
"}"
);
} else {
QFile file(configDir() + "style.css");
file.open(QFile::ReadOnly);