Merge branch 'Applications/18.04'

This commit is contained in:
David Faure 2018-03-21 15:34:36 +01:00
commit c9acf79152
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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()