Use more elegant singleton and fix spell bug.

This commit is contained in:
Mentalflow
2024-01-04 00:08:34 +08:00
parent bb19554215
commit 8778ca85a3
13 changed files with 19 additions and 31 deletions

View File

@ -51,7 +51,7 @@ class FluColors : public QObject
private:
explicit FluColors(QObject *parent = nullptr);
public:
SINGLETONG(FluColors)
SINGLETON(FluColors)
static FluColors *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine){return getInstance();}
};