diff --git a/selectingdialog.cpp b/selectingdialog.cpp index 956befd..6afe95e 100644 --- a/selectingdialog.cpp +++ b/selectingdialog.cpp @@ -17,7 +17,6 @@ #include "selectingdialog.h" #include -#include #include #include "ui_selectingdialog.h" @@ -62,5 +61,5 @@ void SelectingDialog::on_vehicle_selector_activated(int index) /* open the file */ void SelectingDialog::on_open_button_clicked() { - QDesktopServices::openUrl(QUrl(QDir::fromNativeSeparators(file_path))); + QDesktopServices::openUrl(QUrl::fromLocalFile(file_path)); }