Commit caa0ecbb authored by David Redondo's avatar David Redondo 🏎
Browse files

[kcm cursortheme] Also clear default theme when resetting

Fixes duplicate breeze entry after installing a cursor theme from a local file.
parent 3514becc
......@@ -64,6 +64,7 @@ void CursorThemeModel::refreshList()
beginResetModel();
qDeleteAll(list);
list.clear();
defaultName.clear();
endResetModel();
insertThemes();
}
......
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