mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add X-Cinnamon
This commit is contained in:
parent
9ec0e3cdd4
commit
07ebd39092
@ -165,7 +165,7 @@ class CalibreStyle: public QProxyStyle {
|
|||||||
setObjectName(QString("calibre"));
|
setObjectName(QString("calibre"));
|
||||||
desktop_environment = detectDesktopEnvironment();
|
desktop_environment = detectDesktopEnvironment();
|
||||||
button_layout = static_cast<QDialogButtonBox::ButtonLayout>(QProxyStyle::styleHint(SH_DialogButtonLayout));
|
button_layout = static_cast<QDialogButtonBox::ButtonLayout>(QProxyStyle::styleHint(SH_DialogButtonLayout));
|
||||||
if (QLatin1String("GNOME") == desktop_environment || QLatin1String("MATE") == desktop_environment || QLatin1String("UNITY") == desktop_environment || QLatin1String("CINNAMON") == desktop_environment)
|
if (QLatin1String("GNOME") == desktop_environment || QLatin1String("MATE") == desktop_environment || QLatin1String("UNITY") == desktop_environment || QLatin1String("CINNAMON") == desktop_environment || QLatin1String("X-CINNAMON") == desktop_environment)
|
||||||
button_layout = QDialogButtonBox::GnomeLayout;
|
button_layout = QDialogButtonBox::GnomeLayout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user