Only keep one Kirigami theme instance for all users
Fetching the Kirigami Theme via attached properties is expensive. The theme is also going to be the same for all users so it's enough to only do it once.
This commit is contained in:
@@ -32,7 +32,6 @@ Q_SIGNALS:
|
||||
void colorChanged(QColor _t1);
|
||||
|
||||
private:
|
||||
Kirigami::PlatformTheme *m_theme = nullptr;
|
||||
QColor m_color;
|
||||
|
||||
void polishColor();
|
||||
|
||||
Reference in New Issue
Block a user