summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2010-01-20 20:22:34 +0000
committerDominik Wenger <domonoky@googlemail.com>2010-01-20 20:22:34 +0000
commit052812d575b5a50f086e09f26a919e01536bea31 (patch)
tree18a0a67f40d07dced30c2e400277b7c6e2ede6af /rbutil/rbutilqt
parent9050cdd5271b4340a7d0b5fff4070dfe57d4ec14 (diff)
downloadrockbox-052812d575b5a50f086e09f26a919e01536bea31.tar.gz
rockbox-052812d575b5a50f086e09f26a919e01536bea31.tar.bz2
rockbox-052812d575b5a50f086e09f26a919e01536bea31.zip
rbutil: remove some unneeded accesses to the raw build-info file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 18534029a5..8860acc3bb 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -544,9 +544,6 @@ bool RbUtilQt::installAuto()
QString file = RbSettings::value(RbSettings::ReleaseUrl).toString();
file.replace("%MODEL%", RbSettings::value(RbSettings::CurBuildserverModel).toString());
file.replace("%RELVERSION%", versmap.value("rel_rev"));
- buildInfo.open();
- QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
- buildInfo.close();
// check installed Version and Target
QString warning = check(false);
@@ -622,9 +619,6 @@ void RbUtilQt::install()
{
Install *installWindow = new Install(this);
- buildInfo.open();
- QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
- buildInfo.close();
installWindow->setVersionStrings(versmap);
installWindow->show();
@@ -1052,15 +1046,11 @@ void RbUtilQt::downloadManual(void)
QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes)
return;
- buildInfo.open();
- QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
- buildInfo.close();
-
QString manual = RbSettings::value(RbSettings::CurManual).toString();
if(manual.isEmpty())
manual = "rockbox-" + RbSettings::value(RbSettings::Platform).toString();
- QString date = (info.value("dailies/date").toString());
+ QString date = versmap.value("arch_date");
QString manualurl;
QString target;