fix warning

qtcreator/src/libs/utils/tooltip/tips.cpp:91:31: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    } qt_meta_stringdata =  { 8, sizeof("QTipLabel"), "QTipLabel" };
                              ^~~~~~~~~~~~~~~~~~~~~~
                              {                     }
1 warning generated.

Change-Id: Ic9672543a16be9cf02316efd379344a26567f5e0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tim Jenssen
2022-03-15 16:43:44 +01:00
parent 36f18487d9
commit 9976f938e8

View File

@@ -88,7 +88,7 @@ const QMetaObject *TipLabel::metaObject() const
struct qt_meta_stringdata_Utils_t {
const uint offsetsAndSize[2];
char stringdata0[24];
} qt_meta_stringdata = { 8, sizeof("QTipLabel"), "QTipLabel" };
} qt_meta_stringdata = { {8, sizeof("QTipLabel")}, "QTipLabel" };
static const QMetaObject tipMetaObject {
&QLabel::staticMetaObject, // SuperData superdata