summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab')
-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;