mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-06 18:55:58 +08:00
Qt5.15.2 compatible
This commit is contained in:
@ -1,5 +1,16 @@
|
||||
#include "FluTextStyle.h"
|
||||
|
||||
FluTextStyle* FluTextStyle::m_instance = nullptr;
|
||||
|
||||
FluTextStyle *FluTextStyle::getInstance()
|
||||
{
|
||||
if(FluTextStyle::m_instance == nullptr){
|
||||
FluTextStyle::m_instance = new FluTextStyle;
|
||||
}
|
||||
return FluTextStyle::m_instance;
|
||||
}
|
||||
|
||||
|
||||
FluTextStyle::FluTextStyle(QObject *parent)
|
||||
: QObject{parent}
|
||||
{
|
||||
|
Reference in New Issue
Block a user