aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 2090f61a5..11d7124bc 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -765,7 +765,7 @@ void DiveListView::saveSelectedDivesAs()
settings.setValue("LastDir",fileInfo.dir().path());
settings.endGroup();
- QByteArray bt = fileName.toLocal8Bit();
+ QByteArray bt = QFile::encodeName(fileName);
save_dives_logic(bt.data(), TRUE);
}