diff options
Diffstat (limited to 'harmaccuweather/harmaccuplugin.cpp')
-rw-r--r-- | harmaccuweather/harmaccuplugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/harmaccuweather/harmaccuplugin.cpp b/harmaccuweather/harmaccuplugin.cpp index 9ea94bd..25821c4 100644 --- a/harmaccuweather/harmaccuplugin.cpp +++ b/harmaccuweather/harmaccuplugin.cpp @@ -21,10 +21,9 @@ QStringList HarmAccuPlugin::providers() NotificationProvider* HarmAccuPlugin::getProvider(const QString& id, QSettings& settings, QObject *parent) { + Q_UNUSED(settings); if (id != "harmaccu") return 0; - int updateTime = settings.value("updateTime").toInt(); - if (updateTime <= 0) updateTime = 2 * 3600; // Two hours by default - return new HarmAccuProvider(updateTime, parent); + return new HarmAccuProvider(parent); } Q_EXPORT_PLUGIN2(harmaccuweather, HarmAccuPlugin) |