summaryrefslogtreecommitdiff
path: root/vcl/unx/kde5
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-06-15 13:14:34 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-06-18 15:28:01 +0200
commitd7fc00e1f7ab7a44e6102afdb371c999bda5f34f (patch)
tree480eb620a2d3678025962eb87f6faf8c2ff8072b /vcl/unx/kde5
parent0527d831a5c49e0a52c7a72040ee1049dc34c3c7 (diff)
Fix suggesting file name (for new documents)
Change-Id: I39eb672f7dd097e12ddb323ce702c6c28235b5d9
Diffstat (limited to 'vcl/unx/kde5')
-rw-r--r--vcl/unx/kde5/KDE5FilePicker2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde5/KDE5FilePicker2.cxx b/vcl/unx/kde5/KDE5FilePicker2.cxx
index 72519f656bec..bc37f3c02127 100644
--- a/vcl/unx/kde5/KDE5FilePicker2.cxx
+++ b/vcl/unx/kde5/KDE5FilePicker2.cxx
@@ -190,7 +190,7 @@ void SAL_CALL KDE5FilePicker::setDefaultName(const OUString& name)
return Q_EMIT setDefaultNameSignal(name);
}
- _dialog->selectUrl(QUrl(toQString(name)));
+ _dialog->selectFile(toQString(name));
}
void SAL_CALL KDE5FilePicker::setDisplayDirectory(const OUString& dir)