forked from qt-creator/qt-creator
Warn when no color schemes are found, for debugging purposes
This commit is contained in:
@@ -549,6 +549,9 @@ void FontSettingsPage::refreshColorSchemeList()
|
|||||||
colorSchemes.append(ColorSchemeEntry(fileName, true));
|
colorSchemes.append(ColorSchemeEntry(fileName, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (colorSchemes.isEmpty())
|
||||||
|
qWarning() << "Warning: no color schemes found in path:" << styleDir.path();
|
||||||
|
|
||||||
styleDir.setPath(customStylesPath());
|
styleDir.setPath(customStylesPath());
|
||||||
|
|
||||||
foreach (const QString &file, styleDir.entryList()) {
|
foreach (const QString &file, styleDir.entryList()) {
|
||||||
|
Reference in New Issue
Block a user