From 1da0983c42a1ccd8034d411b87694753b5f9e9e6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 21 Mar 2018 15:30:51 +0100 Subject: Fix compilation with -DQT_NO_URL_CAST_FROM_STRING --- src/trash/dolphintrash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trash/dolphintrash.cpp') 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(&KDirLister::completed), this, trashDirContentChanged); connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged); - m_trashDirLister->openUrl(QStringLiteral("trash:/")); + m_trashDirLister->openUrl(QUrl(QStringLiteral("trash:/"))); } Trash::~Trash() -- cgit v1.3