some minor ubuntu tweak concerning themes.
This commit is contained in:
@ -3306,7 +3306,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;
|
||||||
|
Reference in New Issue
Block a user