Kill a warning and fix a typo.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18871 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-10-24 18:41:04 +00:00
parent be00a109b3
commit db058c3c8f
2 changed files with 6 additions and 5 deletions

View file

@ -113,8 +113,9 @@ QString RbSettings::bleedingUrl()
return devices->value("bleeding_url").toString();
}
QString RbSettings::lastRelease(QString plattform)
QString RbSettings::lastRelease(QString platform)
{
(void)platform;
return deviceSettingCurGet("last_release").toString();
}

View file

@ -32,15 +32,15 @@ class RbSettings : public QObject
public:
RbSettings() {}
//! open the settings files
void open();
//! call this to flush the user Settings
void sync();
// returns the filename of the usersettings file
QString userSettingFilename();
//! access functions for the settings
QString curVersion();
bool cacheOffline();
@ -48,7 +48,7 @@ class RbSettings : public QObject
QString mountpoint();
QString manualUrl();
QString bleedingUrl();
QString lastRelease(QString plattform);
QString lastRelease(QString platform);
QString cachePath();
QString bootloaderUrl();
QString bootloaderInfoUrl();