┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/trash/dolphintrash.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7b7037003..263b3ff0c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -11,7 +11,6 @@ add_definitions(
)
remove_definitions(
-DQT_NO_CAST_FROM_BYTEARRAY
- -DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_TO_ASCII
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()