diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-14 16:55:18 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-14 16:55:18 +0100 |
commit | ec7e0073b04d1d795b7c64df80c602e2846225a8 (patch) | |
tree | b13f8d330dcf13edc492368c3bd91329a3da4a8c /src | |
parent | Do NOT save sessions in private browsing windows (diff) | |
download | rekonq-ec7e0073b04d1d795b7c64df80c602e2846225a8.tar.xz |
Reverting changes in sslinfodialog as discussed with kdepepo.
Thanks :)
CCMAIL: christoph@maxiom.de
Diffstat (limited to 'src')
-rw-r--r-- | src/webtab/sslinfodialog.cpp | 8 |
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; |