Commit 4090e899 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Add default value for cursor theme

When using the default cursors, no cursorTheme entry is written into the config file, leading to it resetting GTK to use "Adwaita" cursors.

BUG: 414109

Differential Revision: https://phabricator.kde.org/D25540
parent 9c10610a
......@@ -61,7 +61,7 @@ QString ConfigValueProvider::cursorThemeName() const
{
inputConfig->reparseConfiguration();
KConfigGroup configGroup = inputConfig->group(QStringLiteral("Mouse"));
return configGroup.readEntry(QStringLiteral("cursorTheme"));
return configGroup.readEntry(QStringLiteral("cursorTheme"), QStringLiteral("breeze_cursors"));
}
QString ConfigValueProvider::iconsOnButtons() const
......
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