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

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