Commit cc5b3379 authored by Lukas Appelhans's avatar Lukas Appelhans

Proper fix!

parent aa751f31
......@@ -148,10 +148,13 @@ void SyncOperation::upgrade(QUuid uuid, QList< Akabei::Package* > packages)
void SyncOperation::install(QUuid uuid, QList< Akabei::Package* > packages)
if (queryId != uuid || packages.isEmpty()) {
// QCoreApplication::instance()->quit();
if (queryId != uuid)
if (packages.isEmpty()) {
disconnect(Akabei::Backend::instance(), SIGNAL(queryPackagesCompleted(QUuid,QList<Akabei::Package*>)), this, SLOT(install(QUuid,QList<Akabei::Package*>)));
//FIXME: Cleanup and show all the packages and what is going to be done with them!
QTextStream out(stdout);
QMap<QString, Akabei::Package*> toBeInstalled;
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