You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
414 B
13 lines
414 B
#include <KConfig> |
|
#include <KConfigGroup> |
|
|
|
int main() |
|
{ |
|
KConfig globals("kdeglobals"); |
|
KConfigGroup general(&globals, "General"); |
|
if (general.readEntry(QStringLiteral("ColorScheme")) != QStringLiteral("Breeze")) { |
|
return 0; |
|
} |
|
general.writeEntry(QStringLiteral("ColorScheme"), QStringLiteral("BreezeClassic")); |
|
// No need to migrate the serialized colors because they're the same |
|
}
|
|
|