Commit aa751f31 authored by Lukas Appelhans's avatar Lukas Appelhans

Fuck yeah damn!

parent d1622ce5
......@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <QCoreApplication>
int getcols()
{
......@@ -81,6 +82,7 @@ void QueueOperation::validationFinished(bool valid)
if (!valid) {
out << i18n("The transaction could not be validated") << endl;
out.flush();
QCoreApplication::instance()->quit();
return;
}
......@@ -274,7 +276,7 @@ void QueueOperation::transationFinished()
out << i18np("There has been an error during the transaction.", "There have been errors during the transaction.", Akabei::Backend::instance()->operationRunner()->errors().count());
}
emit finished();
//QCoreApplication::instance()->quit();
// QCoreApplication::instance()->quit();
}
void QueueOperation::errors(QList<Akabei::Error*>& errors)
......
......@@ -149,7 +149,7 @@ 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();
// QCoreApplication::instance()->quit();
return;
}
//FIXME: Cleanup and show all the packages and what is going to be done with them!
......
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