summaryrefslogtreecommitdiff
path: root/qorgwatchlet/qorgwatchletplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qorgwatchlet/qorgwatchletplugin.cpp')
-rw-r--r--qorgwatchlet/qorgwatchletplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qorgwatchlet/qorgwatchletplugin.cpp b/qorgwatchlet/qorgwatchletplugin.cpp
index 4b7bb47..8416f0f 100644
--- a/qorgwatchlet/qorgwatchletplugin.cpp
+++ b/qorgwatchlet/qorgwatchletplugin.cpp
@@ -33,11 +33,11 @@ WatchletPluginInterface::WatchletInfo QOrgWatchletPlugin::describeWatchlet(const
return info;
}
-Watchlet* QOrgWatchletPlugin::getWatchlet(const QString &id, ConfigKey *config, WatchServer *server)
+Watchlet* QOrgWatchletPlugin::getWatchlet(const QString &id, ConfigKey *config, Watch *watch)
{
Q_UNUSED(config);
if (id != "com.javispedro.sowatch.qorg") return 0;
- return new QOrgWatchlet(server);
+ return new QOrgWatchlet(watch);
}
Q_EXPORT_PLUGIN2(qmsgwatchlet, QOrgWatchletPlugin)