Warn when no color schemes are found, for debugging purposes

This commit is contained in:
Thorbjørn Lindeijer
2009-09-02 17:17:13 +02:00
parent 0f6f1f428c
commit e8598222d0

View File

@@ -549,6 +549,9 @@ void FontSettingsPage::refreshColorSchemeList()
colorSchemes.append(ColorSchemeEntry(fileName, true));
}
if (colorSchemes.isEmpty())
qWarning() << "Warning: no color schemes found in path:" << styleDir.path();
styleDir.setPath(customStylesPath());
foreach (const QString &file, styleDir.entryList()) {