mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Fix compilation with -DQT_NO_URL_CAST_FROM_STRING
This commit is contained in:
parent
f536d396f9
commit
1da0983c42
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue