Commit e8598222 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Warn when no color schemes are found, for debugging purposes

parent 0f6f1f42
......@@ -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()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment