applet (and therefore containment) id's are uints

svn path=/trunk/KDE/kdelibs/; revision=1035451
This commit is contained in:
Aaron J. Seigo 2009-10-15 04:05:50 +00:00
parent 4c7f155484
commit 1a34a05a9d

View File

@ -360,7 +360,7 @@ void Corona::loadLayout(const QString &configName)
mergeConfig = true;
}
QList<int> containmentsIds;
QList<uint> containmentsIds;
if (mergeConfig) {
foreach (Plasma::Containment *cont, d->containments) {
@ -377,7 +377,7 @@ void Corona::loadLayout(const QString &configName)
continue;
}
int cid = group.toUInt();
uint cid = group.toUInt();
if (mergeConfig) {
if (containmentsIds.contains(cid)) {
cid = 0;