diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-10-24 18:41:04 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-10-24 18:41:04 +0000 |
commit | db058c3c8f90cabb6773df00687832d1fbe35862 (patch) | |
tree | 3874077770751e4e2e8de38655272d0c13d52e50 | |
parent | be00a109b398ca2597ba05908aea89df06d6a92d (diff) | |
download | rockbox-db058c3c8f90cabb6773df00687832d1fbe35862.tar.gz rockbox-db058c3c8f90cabb6773df00687832d1fbe35862.zip |
Kill a warning and fix a typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18871 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/rbutilqt/rbsettings.cpp | 3 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbsettings.h | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp index 8a8972b36c..2b28ee4d9a 100644 --- a/rbutil/rbutilqt/rbsettings.cpp +++ b/rbutil/rbutilqt/rbsettings.cpp | |||
@@ -113,8 +113,9 @@ QString RbSettings::bleedingUrl() | |||
113 | return devices->value("bleeding_url").toString(); | 113 | return devices->value("bleeding_url").toString(); |
114 | } | 114 | } |
115 | 115 | ||
116 | QString RbSettings::lastRelease(QString plattform) | 116 | QString RbSettings::lastRelease(QString platform) |
117 | { | 117 | { |
118 | (void)platform; | ||
118 | return deviceSettingCurGet("last_release").toString(); | 119 | return deviceSettingCurGet("last_release").toString(); |
119 | } | 120 | } |
120 | 121 | ||
diff --git a/rbutil/rbutilqt/rbsettings.h b/rbutil/rbutilqt/rbsettings.h index cc4d32100b..97a54fcf5d 100644 --- a/rbutil/rbutilqt/rbsettings.h +++ b/rbutil/rbutilqt/rbsettings.h | |||
@@ -32,15 +32,15 @@ class RbSettings : public QObject | |||
32 | 32 | ||
33 | public: | 33 | public: |
34 | RbSettings() {} | 34 | RbSettings() {} |
35 | 35 | ||
36 | //! open the settings files | 36 | //! open the settings files |
37 | void open(); | 37 | void open(); |
38 | //! call this to flush the user Settings | 38 | //! call this to flush the user Settings |
39 | void sync(); | 39 | void sync(); |
40 | 40 | ||
41 | // returns the filename of the usersettings file | 41 | // returns the filename of the usersettings file |
42 | QString userSettingFilename(); | 42 | QString userSettingFilename(); |
43 | 43 | ||
44 | //! access functions for the settings | 44 | //! access functions for the settings |
45 | QString curVersion(); | 45 | QString curVersion(); |
46 | bool cacheOffline(); | 46 | bool cacheOffline(); |
@@ -48,7 +48,7 @@ class RbSettings : public QObject | |||
48 | QString mountpoint(); | 48 | QString mountpoint(); |
49 | QString manualUrl(); | 49 | QString manualUrl(); |
50 | QString bleedingUrl(); | 50 | QString bleedingUrl(); |
51 | QString lastRelease(QString plattform); | 51 | QString lastRelease(QString platform); |
52 | QString cachePath(); | 52 | QString cachePath(); |
53 | QString bootloaderUrl(); | 53 | QString bootloaderUrl(); |
54 | QString bootloaderInfoUrl(); | 54 | QString bootloaderInfoUrl(); |