summaryrefslogtreecommitdiff
path: root/sysinfowatchlet/sysinfoplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysinfowatchlet/sysinfoplugin.cpp')
-rw-r--r--sysinfowatchlet/sysinfoplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysinfowatchlet/sysinfoplugin.cpp b/sysinfowatchlet/sysinfoplugin.cpp
index 3e56307..c87e864 100644
--- a/sysinfowatchlet/sysinfoplugin.cpp
+++ b/sysinfowatchlet/sysinfoplugin.cpp
@@ -28,11 +28,11 @@ SysInfoPlugin::WatchletInfo SysInfoPlugin::describeWatchlet(const QString &id)
return info;
}
-Watchlet* SysInfoPlugin::getWatchlet(const QString& id, ConfigKey *settings, WatchServer *server)
+Watchlet* SysInfoPlugin::getWatchlet(const QString& id, ConfigKey *settings, Watch *watch)
{
Q_UNUSED(id);
Q_UNUSED(settings);
- return new SysInfoWatchlet(server);
+ return new SysInfoWatchlet(watch);
}
Q_EXPORT_PLUGIN2(sysinfowatchlet, SysInfoPlugin)