Commit 58786b5a authored by Lukas Appelhans's avatar Lukas Appelhans

This was rather stupid

parent a184b636
......@@ -130,8 +130,7 @@ void SyncOperation::upgrade(QUuid , QList< Akabei::Package* > packages)
if (!local) //Something obviously is wrong here
continue;
if (!versions.isEmpty() && versions.values().last()->version() > local->version()) {
toBeUpgraded << candidates.last();
kDebug() << "To be upgraded" << candidates.last()->name();
toBeUpgraded << versions.values().last();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment