Fixed compile warnings.

This commit is contained in:
Friedemann Kleint
2009-05-27 16:11:41 +02:00
parent 089401fbf7
commit 192afe0825

View File

@@ -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++)