From c2a01fdc7a4f80e0d8e6305944ac1efca3040df0 Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Sun, 6 Apr 2008 20:29:26 +0000 Subject: rbutil: another misplaced connect call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16999 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/installthemes.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rbutil/rbutilqt/installthemes.cpp b/rbutil/rbutilqt/installthemes.cpp index 3895d31..decfe53 100644 --- a/rbutil/rbutilqt/installthemes.cpp +++ b/rbutil/rbutilqt/installthemes.cpp @@ -54,8 +54,7 @@ void ThemesInstallWindow::downloadInfo() { // try to get the current build information getter = new HttpGet(this); - connect(getter, SIGNAL(done(bool)), this, SLOT(downloadDone(bool))); - + qDebug() << "downloading themes info"; themesInfo.open(); qDebug() << "file:" << themesInfo.fileName(); @@ -68,6 +67,9 @@ void ThemesInstallWindow::downloadInfo() if(settings->cacheOffline()) getter->setCache(true); getter->setFile(&themesInfo); + + connect(getter, SIGNAL(done(bool)), this, SLOT(downloadDone(bool))); + connect(logger, SIGNAL(aborted()), getter, SLOT(abort())); getter->getFile(url); } @@ -232,7 +234,7 @@ void ThemesInstallWindow::show() logger = new ProgressLoggerGui(this); logger->show(); logger->addItem(tr("getting themes information ..."), LOGINFO); - connect(logger, SIGNAL(aborted()), getter, SLOT(abort())); + connect(logger, SIGNAL(aborted()), this, SLOT(close())); downloadInfo(); -- cgit v1.1