summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index ab86a16581..bf4aa1c2e8 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -107,6 +107,7 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
107 RegCloseKey(hk); 107 RegCloseKey(hk);
108 } 108 }
109#endif 109#endif
110 updateSettings();
110 downloadInfo(); 111 downloadInfo();
111 112
112 m_gotInfo = false; 113 m_gotInfo = false;
@@ -242,7 +243,7 @@ void RbUtilQt::downloadDone(bool error)
242 buildInfo.open(); 243 buildInfo.open();
243 ServerInfo::readBuildInfo(buildInfo.fileName()); 244 ServerInfo::readBuildInfo(buildInfo.fileName());
244 buildInfo.close(); 245 buildInfo.close();
245 246
246 // start bleeding info download 247 // start bleeding info download
247 bleeding = new HttpGet(this); 248 bleeding = new HttpGet(this);
248 connect(bleeding, SIGNAL(done(bool)), this, SLOT(downloadBleedingDone(bool))); 249 connect(bleeding, SIGNAL(done(bool)), this, SLOT(downloadBleedingDone(bool)));
@@ -271,11 +272,11 @@ void RbUtilQt::downloadBleedingDone(bool error)
271 bleedingInfo.open(); 272 bleedingInfo.open();
272 ServerInfo::readBleedingInfo(bleedingInfo.fileName()); 273 ServerInfo::readBleedingInfo(bleedingInfo.fileName());
273 bleedingInfo.close(); 274 bleedingInfo.close();
274 275
275 ui.statusbar->showMessage(tr("Download build information finished."), 5000); 276 ui.statusbar->showMessage(tr("Download build information finished."), 5000);
276 updateSettings(); 277 updateSettings();
277 m_gotInfo = true; 278 m_gotInfo = true;
278 279
279 //start check for updates 280 //start check for updates
280 checkUpdate(); 281 checkUpdate();
281 } 282 }
@@ -345,7 +346,7 @@ void RbUtilQt::updateSettings()
345 HttpGet::setGlobalProxy(proxy()); 346 HttpGet::setGlobalProxy(proxy());
346 HttpGet::setGlobalCache(RbSettings::value(RbSettings::CachePath).toString()); 347 HttpGet::setGlobalCache(RbSettings::value(RbSettings::CachePath).toString());
347 HttpGet::setGlobalDumbCache(RbSettings::value(RbSettings::CacheOffline).toBool()); 348 HttpGet::setGlobalDumbCache(RbSettings::value(RbSettings::CacheOffline).toBool());
348 349
349 if(RbSettings::value(RbSettings::RbutilVersion) != PUREVERSION) { 350 if(RbSettings::value(RbSettings::RbutilVersion) != PUREVERSION) {
350 QApplication::processEvents(); 351 QApplication::processEvents();
351 QMessageBox::information(this, tr("New installation"), 352 QMessageBox::information(this, tr("New installation"),