From 22ec2f9ac4462abd142c2ad02867db2fc79ee883 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 19 Aug 2019 13:13:57 +0200 Subject: [PATCH] GUI: use native path separators in playlist selection dialog --- src/mkvtoolnix-gui/merge/select_playlist_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkvtoolnix-gui/merge/select_playlist_dialog.cpp b/src/mkvtoolnix-gui/merge/select_playlist_dialog.cpp index 478c32b63..52c748ba9 100644 --- a/src/mkvtoolnix-gui/merge/select_playlist_dialog.cpp +++ b/src/mkvtoolnix-gui/merge/select_playlist_dialog.cpp @@ -126,7 +126,7 @@ public: PlaylistItem::PlaylistItem(unsigned int order, QFileInfo const &fileInfo) - : QTreeWidgetItem{ QStringList{} << QString::number(order) << fileInfo.fileName() << fileInfo.path() } + : QTreeWidgetItem{ QStringList{} << QString::number(order) << fileInfo.fileName() << QDir::toNativeSeparators(fileInfo.path()) } , m_order{order} , m_fileName{fileInfo.fileName()} , m_path{fileInfo.path()}