diff --git a/outline.cpp b/outline.cpp index da5c7e1d6e..75e51cf086 100644 --- a/outline.cpp +++ b/outline.cpp @@ -26,6 +26,8 @@ along with this program. If not, see . // KWin libs #include #include "workspace.h" +// Frameworks +#include // Qt #include #include @@ -150,8 +152,8 @@ void CompositedOutlineVisual::show() } if (m_qmlComponent.isNull()) { m_qmlComponent.reset(new QQmlComponent(Scripting::self()->qmlEngine())); - // TODO: fileName should be configurable - const QString fileName = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral(KWIN_NAME "/outline/plasma/outline.qml")); + const QString fileName = QStandardPaths::locate(QStandardPaths::GenericDataLocation, + kwinApp()->config()->group(QStringLiteral("Outline")).readEntry("QmlPath", QStringLiteral(KWIN_NAME "/outline/plasma/outline.qml"))); if (fileName.isEmpty()) { qCDebug(KWIN_CORE) << "Could not locate outline.qml"; return;