summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-04-06 20:29:26 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-04-06 20:29:26 +0000
commitc2a01fdc7a4f80e0d8e6305944ac1efca3040df0 (patch)
tree13f915c9dda2022221958ada6d2e56ddb1c205c0 /rbutil
parent86a5d62f7b9213ea99f1dc24d1c359b60e54994f (diff)
downloadrockbox-c2a01fdc7a4f80e0d8e6305944ac1efca3040df0.tar.gz
rockbox-c2a01fdc7a4f80e0d8e6305944ac1efca3040df0.tar.bz2
rockbox-c2a01fdc7a4f80e0d8e6305944ac1efca3040df0.zip
rbutil: another misplaced connect call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16999 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/installthemes.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/installthemes.cpp b/rbutil/rbutilqt/installthemes.cpp
index 3895d317cd..decfe5334f 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();