some minor ubuntu tweak concerning themes.

This commit is contained in:
suter_a 2019-05-02 15:04:55 +02:00
parent f320230b30
commit 2065904bec

View File

@ -3300,7 +3300,8 @@ bool PTextEdit::getTheme()
if (str.contains("dark", Qt::CaseInsensitive)) { if (str.contains("dark", Qt::CaseInsensitive)) {
fDarkMenuIcon = true; fDarkMenuIcon = true;
if (str.contains("ubuntu", Qt::CaseInsensitive)) { if (str.contains("ubuntu", Qt::CaseInsensitive)) {
fDarkToolBarIcon = true; fDarkMenuIcon = false;
fDarkToolBarIcon = false;
} else if (str.contains("xfce", Qt::CaseInsensitive)) { } else if (str.contains("xfce", Qt::CaseInsensitive)) {
fDarkMenuIcon = false; fDarkMenuIcon = false;
fDarkToolBarIcon = false; fDarkToolBarIcon = false;