summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-08-23 08:46:27 +0200
committerMontel Laurent <[email protected]>2015-08-23 08:46:27 +0200
commitdb14d3220b675d7659c4f13541462059b29a8e24 (patch)
treed9b1d83cc518c4590f9570df0a2579728e1be2dc
parent1d38979a395f0a8003e351fd35b97b0ff4a305b3 (diff)
Clean up
-rw-r--r--kmail/kmcommands.cpp2
-rw-r--r--messageviewer/utils/util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmcommands.cpp b/kmail/kmcommands.cpp
index e991990..52d8d63 100644
--- a/kmail/kmcommands.cpp
+++ b/kmail/kmcommands.cpp
@@ -718,7 +718,7 @@ KMOpenMsgCommand::KMOpenMsgCommand(QWidget *parent, const QUrl &url,
KMCommand::Result KMOpenMsgCommand::execute()
{
if (mUrl.isEmpty()) {
- mUrl = QFileDialog::getOpenFileUrl(parentWidget(), i18n("Open Message"), QUrl(QStringLiteral("kfiledialog:///OpenMessage")),
+ mUrl = QFileDialog::getOpenFileUrl(parentWidget(), i18n("Open Message"), QUrl(),
i18n("Message (*.mbox)")
);
}
diff --git a/messageviewer/utils/util.cpp b/messageviewer/utils/util.cpp
index 6fef00a..5faada7 100644
--- a/messageviewer/utils/util.cpp
+++ b/messageviewer/utils/util.cpp
@@ -202,7 +202,7 @@ bool Util::saveContents(QWidget *parent, const KMime::Content::List &contents, Q
const bool multiple = (contents.count() > 1);
if (multiple) {
// get the dir
- dirUrl = KFileDialog::getExistingDirectoryUrl(QUrl(QStringLiteral("kfiledialog:///saveAttachment")),
+ dirUrl = KFileDialog::getExistingDirectoryUrl(QUrl(),
parent,
i18n("Save Attachments To"));
if (!dirUrl.isValid()) {