From ec7e0073b04d1d795b7c64df80c602e2846225a8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 14 Mar 2013 16:55:18 +0100 Subject: Reverting changes in sslinfodialog as discussed with kdepepo. Thanks :) CCMAIL: christoph@maxiom.de --- src/webtab/sslinfodialog.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/webtab') 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; -- cgit v1.2.1