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() return devices->value("bleeding_url").toString(); } -QString RbSettings::lastRelease(QString plattform) +QString RbSettings::lastRelease(QString platform) { + (void)platform; return deviceSettingCurGet("last_release").toString(); } 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 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();