summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/themesinstallwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/themesinstallwindow.cpp')
-rw-r--r--rbutil/rbutilqt/themesinstallwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/themesinstallwindow.cpp b/rbutil/rbutilqt/themesinstallwindow.cpp
index 75d3eeb698..56a917cfc6 100644
--- a/rbutil/rbutilqt/themesinstallwindow.cpp
+++ b/rbutil/rbutilqt/themesinstallwindow.cpp
@@ -101,7 +101,7 @@ void ThemesInstallWindow::downloadDone(bool error)
"Please check your network and proxy settings.")
.arg(getter->errorString()), LOGERROR);
getter->abort();
- logger->abort();
+ logger->setFinished();
disconnect(getter, SIGNAL(done(bool)), this, SLOT(downloadDone(bool)));
connect(logger, SIGNAL(closed()), this, SLOT(close()));
return;
@@ -111,12 +111,12 @@ void ThemesInstallWindow::downloadDone(bool error)
qDebug() << "error!";
logger->addItem(tr("the following error occured:\n%1")
.arg(iniDetails.value("error/description", "unknown error").toString()), LOGERROR);
- logger->abort();
+ logger->setFinished();
connect(logger, SIGNAL(closed()), this, SLOT(close()));
return;
}
logger->addItem(tr("done."), LOGOK);
- logger->abort();
+ logger->setFinished();
logger->close();
// setup list
@@ -289,7 +289,7 @@ void ThemesInstallWindow::show()
void ThemesInstallWindow::abort()
{
igetter.abort();
- logger->abort();
+ logger->setFinished();
this->close();
}
@@ -326,7 +326,7 @@ void ThemesInstallWindow::accept()
// show dialog with error if mount point is wrong
if(!QFileInfo(mountPoint).isDir()) {
logger->addItem(tr("Mount point is wrong!"),LOGERROR);
- logger->abort();
+ logger->setFinished();
return;
}