Commit 77e7fdb3 authored by Lukas Appelhans's avatar Lukas Appelhans Committed by Lisa

Better order

parent 88f0a9fd
......@@ -57,6 +57,18 @@ void SyncOperation::start()
switch(operation) {
case APM::UpdateDatabases:
{
updateDatabases();
break;
}
case APM::UpdateSystem:
{
updateSystem();
break;
}
case APM::Search:
{
connect(backend, SIGNAL(queryPackagesCompleted(QUuid, QList<Akabei::Package*>)), SLOT(searchResult(QUuid,QList<Akabei::Package*>)));
......@@ -83,18 +95,6 @@ void SyncOperation::start()
backend->queryGroups("SELECT * FROM groups WHERE name LIKE \"" + m_args.first() + "\"");
break;
}
case APM::UpdateDatabases:
{
updateDatabases();
break;
}
case APM::UpdateSystem:
{
updateSystem();
break;
}
case APM::Install:
{
......
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