forked from qt-creator/qt-creator
Fixed compile warnings.
This commit is contained in:
@@ -104,10 +104,10 @@ const itemVectorType itemVector()
|
|||||||
false},
|
false},
|
||||||
{"dbus",
|
{"dbus",
|
||||||
QCoreApplication::translate("QtModulesInfo", "QtDBus Module"),
|
QCoreApplication::translate("QtModulesInfo", "QtDBus Module"),
|
||||||
QCoreApplication::translate("QtModulesInfo", "Classes for Inter-Process Communication using the D-Bus",
|
QCoreApplication::translate("QtModulesInfo", "Classes for Inter-Process Communication using the D-Bus"),
|
||||||
false)}
|
false}
|
||||||
};
|
};
|
||||||
const uint itemsCount = sizeof items / sizeof items[0];
|
const int itemsCount = sizeof items / sizeof items[0];
|
||||||
itemVectorType result;
|
itemVectorType result;
|
||||||
result.reserve(itemsCount);
|
result.reserve(itemsCount);
|
||||||
for (int i = 0; i < itemsCount; i++)
|
for (int i = 0; i < itemsCount; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user