diff options
| author | Tannin <devnull@localhost> | 2014-03-16 20:05:13 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-03-16 20:05:13 +0100 |
| commit | ff272dcbbdf7ae9228bde4b9ddd15a152a109fe1 (patch) | |
| tree | a311416e4e19f46a5e2c6ae4a4beec8220a8e621 /src/settings.cpp | |
| parent | 129b76d7d2d90c3a791e101435987993ed8b312a (diff) | |
| parent | 98354cd1e7f3c6b89f7112bda0791cf8ba191372 (diff) | |
Merge
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index dd3891d4..d9a7e799 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -436,8 +436,12 @@ void Settings::addLanguages(QComboBox *languageBox) void Settings::addStyles(QComboBox *styleBox) { styleBox->addItem("None", ""); +#if QT_VERSION >= QT_VERSION_CHECK(5,0,0) + styleBox->addItem("Fusion", "Fusion"); +#else styleBox->addItem("Plastique", "Plastique"); styleBox->addItem("Cleanlooks", "Cleanlooks"); +#endif QDirIterator langIter(QCoreApplication::applicationDirPath() + "/" + ToQString(AppConfig::stylesheetsPath()), QStringList("*.qss"), QDir::Files); while (langIter.hasNext()) { |
