This commit is contained in:
zhuzichu
2024-01-04 14:28:51 +08:00
parent 28a42d7ecc
commit 3a0f6355c8
7 changed files with 20 additions and 30 deletions

View File

@ -102,6 +102,7 @@ T.ComboBox {
height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin)
topMargin: 6
bottomMargin: 6
modal: true
contentItem: ListView {
clip: true
implicitHeight: contentHeight

View File

@ -102,6 +102,7 @@ T.ComboBox {
height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin)
topMargin: 6
bottomMargin: 6
modal: true
contentItem: ListView {
clip: true
implicitHeight: contentHeight

View File

@ -23,12 +23,11 @@ T* Singleton<T>::getInstance() {
return instance;
}
#define SINGLETON(Class) \
private: \
#define SINGLETON(Class) \
private: \
friend class Singleton<Class>; \
\
public: \
static Class* getInstance() { \
public: \
static Class* getInstance() { \
return Singleton<Class>::getInstance(); \
}