[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kio] src/filewidgets: Fix QUrl porting error.
From: Maarten De Meyer <de.meyer.maarten () gmail ! com>
Date: 2014-09-06 13:44:27
Message-ID: E1XQGHz-0007NG-Sb () scm ! kde ! org
[Download RAW message or body]
Git commit a77076ad8799174637cf452e5bb3e4097b34916e by Maarten De Meyer.
Committed on 05/09/2014 at 18:05.
Pushed by demeyer into branch 'master'.
Fix QUrl porting error.
BUG: 337557
REVIEW: 120071
M +1 -1 src/filewidgets/kfilewidget.cpp
http://commits.kde.org/kio/a77076ad8799174637cf452e5bb3e4097b34916e
diff --git a/src/filewidgets/kfilewidget.cpp b/src/filewidgets/kfilewidget.cpp
index 10c6120..42320e3 100644
--- a/src/filewidgets/kfilewidget.cpp
+++ b/src/filewidgets/kfilewidget.cpp
@@ -909,7 +909,7 @@ void KFileWidget::slotOk()
containsProtocolSection(locationEditCurrentText))) {
QString fileName;
- QUrl url(locationEditCurrentText);
+ QUrl url = QUrl::fromUserInput(locationEditCurrentText);
if (d->operationMode == Opening) {
KIO::StatJob *statJob = KIO::stat(url, KIO::HideProgressInfo);
KJobWidgets::setWindow(statJob, this);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic