From dc37dad251e24a799ce8b8100ab09ba1b51fb060 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 16 Mar 2017 21:27:16 -0700 Subject: [PATCH] Fix opening the data folder (KDE thought the old way was an SMB share) --- openlp/core/ui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index b31211797..aced8da05 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -796,7 +796,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, RegistryProperties): Open data folder """ path = AppLocation.get_data_path() - QtGui.QDesktopServices.openUrl(QtCore.QUrl("file:///" + path)) + QtGui.QDesktopServices.openUrl(QtCore.QUrl.fromLocalFile(path)) def on_update_theme_images(self): """