diff options
Diffstat (limited to 'tools/qmlviewer/qmlviewer.cpp')
-rw-r--r-- | tools/qmlviewer/qmlviewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp index 677c08b..39cb82b 100644 --- a/tools/qmlviewer/qmlviewer.cpp +++ b/tools/qmlviewer/qmlviewer.cpp @@ -330,7 +330,7 @@ void QmlViewer::toggleRecording() void QmlViewer::addLibraryPath(const QString& lib) { - canvas->engine()->addNameSpacePath("",lib); + canvas->engine()->addImportPath(lib); } void QmlViewer::reload() |