diff options
Diffstat (limited to 'liveview/liveviewplugin.cpp')
-rw-r--r-- | liveview/liveviewplugin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/liveview/liveviewplugin.cpp b/liveview/liveviewplugin.cpp index 1f34949..d1f7ad0 100644 --- a/liveview/liveviewplugin.cpp +++ b/liveview/liveviewplugin.cpp @@ -31,8 +31,11 @@ WatchScanner* LiveViewPlugin::getScanner(QObject *parent) QUrl LiveViewPlugin::getConfigQmlUrl(const QString &driver) { - Q_UNUSED(driver); - return QUrl(); + if (driver == "liveview") { + return QUrl::fromLocalFile(SOWATCH_QML_DIR "/liveview-config.qml"); + } else { + return QUrl(); + } } Watch* LiveViewPlugin::getWatch(const QString& driver, ConfigKey* settings, QObject *parent) |