Commit 317a899d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

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

Summary: The if was negated, I assume it was a typo

Test Plan: I don't get the following screenshot anymore

Reviewers: #frameworks, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 7bd349d4
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment