Commit cf260af0 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Remove unused variable

parent d6e6a20e
...@@ -55,14 +55,11 @@ ColorSchemeManager* ColorSchemeManager::instance() ...@@ -55,14 +55,11 @@ ColorSchemeManager* ColorSchemeManager::instance()
void ColorSchemeManager::loadAllColorSchemes() void ColorSchemeManager::loadAllColorSchemes()
{ {
int success = 0;
int failed = 0; int failed = 0;
const QStringList nativeColorSchemes = listColorSchemes(); const QStringList nativeColorSchemes = listColorSchemes();
for (const QString &colorScheme : nativeColorSchemes) { for (const QString &colorScheme : nativeColorSchemes) {
if (loadColorScheme(colorScheme)) { if (!loadColorScheme(colorScheme)) {
success++;
} else {
failed++; failed++;
} }
} }
......
Markdown is supported
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