Skip to content

Commit fcadc41

Browse files
committed
path as string
1 parent 894ae1e commit fcadc41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EasyReflectometryApp/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
if INSTALLER:
4444
path_main_qml = QUrl.fromLocalFile(CURRENT_DIR / 'EasyReflectometryApp' / 'main.qml') # Running from installer
45-
engine.addImportPath(QUrl.fromLocalFile(CURRENT_DIR))
45+
engine.addImportPath(QUrl.fromLocalFile(CURRENT_DIR).toString())
4646
console.debug('Paths added where QML searches for components')
4747
else:
4848
path_main_qml = path_main_qml = CURRENT_DIR / 'main.qml' # Running locally

0 commit comments

Comments
 (0)