┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/trash
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2018-03-21 15:30:51 +0100
committerDavid Faure <[email protected]>2018-03-21 15:30:51 +0100
commit1da0983c42a1ccd8034d411b87694753b5f9e9e6 (patch)
treebc695ebc84bff3de38ad2c231ad19c8786ac3afd /src/trash
parentf536d396f958e69b200a011034f1ff1ff2fdef7d (diff)
Fix compilation with -DQT_NO_URL_CAST_FROM_STRING
Diffstat (limited to 'src/trash')
-rw-r--r--src/trash/dolphintrash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp
index 815709440..749d0d481 100644
--- a/src/trash/dolphintrash.cpp
+++ b/src/trash/dolphintrash.cpp
@@ -42,7 +42,7 @@ Trash::Trash()
};
connect(m_trashDirLister, static_cast<void(KDirLister::*)()>(&KDirLister::completed), this, trashDirContentChanged);
connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged);
- m_trashDirLister->openUrl(QStringLiteral("trash:/"));
+ m_trashDirLister->openUrl(QUrl(QStringLiteral("trash:/")));
}
Trash::~Trash()