mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Remove QTabBar custom style
This commit is contained in:
@@ -1236,13 +1236,11 @@ if defined(Q_OS_WIN)
|
|||||||
void QETApp::useSystemPalette(bool use) {
|
void QETApp::useSystemPalette(bool use) {
|
||||||
if (use) {
|
if (use) {
|
||||||
qApp->setPalette(initial_palette_);
|
qApp->setPalette(initial_palette_);
|
||||||
qApp->setStyleSheet(
|
qApp->setStyleSheet(
|
||||||
"QTabBar::tab:!selected { background-color: transparent; }"
|
"QAbstractScrollArea#mdiarea {"
|
||||||
"QTabBar::tab:selected { background-color: transparent; font: bold; color: black;}"
|
"background-color -> setPalette(initial_palette_);"
|
||||||
"QAbstractScrollArea#mdiarea {"
|
"}"
|
||||||
"background-color -> setPalette(initial_palette_);"
|
);
|
||||||
"}"
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
QFile file(configDir() + "style.css");
|
QFile file(configDir() + "style.css");
|
||||||
file.open(QFile::ReadOnly);
|
file.open(QFile::ReadOnly);
|
||||||
|
|||||||
Reference in New Issue
Block a user