aboutsummaryrefslogtreecommitdiffstats
path: root/src/bench/benchlivenodeengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/benchlivenodeengine.cpp')
-rw-r--r--src/bench/benchlivenodeengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/benchlivenodeengine.cpp b/src/bench/benchlivenodeengine.cpp
index 30dd5b5..b671062 100644
--- a/src/bench/benchlivenodeengine.cpp
+++ b/src/bench/benchlivenodeengine.cpp
@@ -110,7 +110,7 @@ void BenchLiveNodeEngine::initPlugins()
//This needs to be QueuedConnection because Qt5 doesn't like it to destruct it's object while it is in a signalHandler
connect(adapter, &DirectoryPreviewAdapter::loadDocument,
this, [this](const QString &document) {
- m_workspaceView->activateDocument(LiveDocument(document));
+ m_workspaceView->activateDocument(LiveDocument::resolve(workspace(), document));
},
Qt::QueuedConnection);
}