summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-14 16:55:18 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-14 16:55:18 +0100
commitec7e0073b04d1d795b7c64df80c602e2846225a8 (patch)
treeb13f8d330dcf13edc492368c3bd91329a3da4a8c
parentDo NOT save sessions in private browsing windows (diff)
downloadrekonq-ec7e0073b04d1d795b7c64df80c602e2846225a8.tar.xz
Reverting changes in sslinfodialog as discussed with kdepepo.
Thanks :) CCMAIL: christoph@maxiom.de
-rw-r--r--src/webtab/sslinfodialog.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/webtab/sslinfodialog.cpp b/src/webtab/sslinfodialog.cpp
index e0ae6dea..8572febc 100644
--- a/src/webtab/sslinfodialog.cpp
+++ b/src/webtab/sslinfodialog.cpp
@@ -139,11 +139,9 @@ void SslInfoDialog::exportCert()
QString name = m_host + QL1S(".pem");
- // NOTE: Please, no more use here getSaveFileName as it seems it cannot properly
- // handle remote URLs
- KUrl certPath = KFileDialog::getSaveUrl(name, QString(), this);
-
- QFile file(certPath.pathOrUrl());
+ QString certPath = KFileDialog::getSaveFileName(name, QString(), this);
+
+ QFile file(certPath);
if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
return;