Commit 7465c60b authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use raw pointer instead of QPointer to track watchers

Using QPointer comes with a significant overhead since operator== performs internal syncronization

It's also not needed since the objects are removed when destroyed
parent d7910c79
Pipeline #134440 passed with stage
in 53 seconds
......@@ -184,7 +184,7 @@ public:
KColorScheme buttonScheme;
QVector<QPointer<PlasmaDesktopTheme>> watchers;
QVector<PlasmaDesktopTheme *> watchers;
QHash<QPair<Kirigami::PlatformTheme::ColorSet, QPalette::ColorGroup>, Colors> m_cache;
Supports Markdown
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