Commit 5bd506e0 authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Remove unused method

parent 46142e97
......@@ -282,9 +282,6 @@ void Operation::setFinished(bool result)
d->setStatus(StatusError);
}
setEta(0);
if (d->runner) {
d->runner->d_func()->emitFinished(this, result);
}
if (!d->runLoop.isNull()) {
d->runLoop.data()->quit();
}
......
......@@ -73,12 +73,6 @@ void OperationRunnerPrivate::emitProgress(Operation *op, int progress)
emit q->operationProgress(op, progress);
}
void OperationRunnerPrivate::emitFinished(Operation *op, bool result)
{
Q_Q(OperationRunner);
//emit q->operationFinished(op);//The runnable does it already
}
void OperationRunnerPrivate::emitMessage(Akabei::Operation* op, const QString &message)
{
Q_Q(OperationRunner);
......
......@@ -53,7 +53,6 @@ public:
QMutex *mutex;
void emitProgress(Akabei::Operation* op, int progress);
void emitFinished(Akabei::Operation* op, bool success);
void emitMessage(Akabei::Operation* op, const QString &message);
void emitStatus(Akabei::Operation* op, Operation::Status status);
void emitEtaChanged(Akabei::Operation* op, int eta);
......
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