adopted dark scheme for 'elementary-xfce-darker'
This commit is contained in:
parent
33da0caf2c
commit
462119dd35
@ -3027,10 +3027,15 @@ void PTextEdit::getTheme()
|
|||||||
|
|
||||||
QString str = QIcon::themeName();
|
QString str = QIcon::themeName();
|
||||||
|
|
||||||
|
qDebug() << "debug> str=" << str << endl;
|
||||||
|
|
||||||
if (str.contains("dark", Qt::CaseInsensitive)) {
|
if (str.contains("dark", Qt::CaseInsensitive)) {
|
||||||
fDarkTheme = true;
|
fDarkTheme = true;
|
||||||
if (str.contains("ubuntu", Qt::CaseInsensitive)) {
|
if (str.contains("ubuntu", Qt::CaseInsensitive)) {
|
||||||
fDarkToolBarIcon = false;
|
fDarkToolBarIcon = false;
|
||||||
|
} else if (str.contains("xfce", Qt::CaseInsensitive)) {
|
||||||
|
fDarkTheme = false;
|
||||||
|
fDarkToolBarIcon = false;
|
||||||
} else {
|
} else {
|
||||||
fDarkToolBarIcon = true;
|
fDarkToolBarIcon = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user