Commit 5e18075c authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Revert "Fix message box when passing a remote url that includes a file"

I misread the situation

This reverts commit 317a899d.
parent 317a899d
......@@ -231,7 +231,7 @@ void KDEPlatformFileDialog::setDirectory(const QUrl &directory)
KJobWidgets::setWindow(job, this);
if (job->exec()) {
KIO::UDSEntry entry = job->statResult();
if (entry.isDir()) {
if (!entry.isDir()) {
// this is probably a file remove the file part
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment