diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-08-30 19:08:25 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-08-30 19:08:25 +0000 |
commit | fae8e3fe4f558f7e689731b0c49d3edb31b31e13 (patch) | |
tree | a8969a0391d2ea82591e53e5fbf36b1bd1ec9f21 /rbutil/rbutilqt/install.cpp | |
parent | 3e7594a1b5ea9831456c972900143d214b59d22d (diff) | |
download | rockbox-fae8e3fe4f558f7e689731b0c49d3edb31b31e13.tar.gz rockbox-fae8e3fe4f558f7e689731b0c49d3edb31b31e13.zip |
When installing a build also save the platform information to the log file. This solves the detection issue on X5 / X5V (as they share the same build but not bootloader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14539 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/install.cpp')
-rw-r--r-- | rbutil/rbutilqt/install.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp index 24ce44b6b9..76baac44e0 100644 --- a/rbutil/rbutilqt/install.cpp +++ b/rbutil/rbutilqt/install.cpp @@ -125,8 +125,12 @@ void Install::done(bool error) } // no error, close the window, when the logger is closed - connect(logger,SIGNAL(closed()),this,SLOT(close())); - + connect(logger,SIGNAL(closed()),this,SLOT(close())); + // add platform info to log file for later detection + QSettings installlog(userSettings->value("defaults/mountpoint").toString() + + "/.rockbox/rbutil.log", QSettings::IniFormat, 0); + installlog.setValue("platform", userSettings->value("defaults/platform").toString()); + installlog.sync(); } |