mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
13 lines
414 B
C++
13 lines
414 B
C++
#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
|
|
}
|