X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/1318f16fd7b84de79c04eb468d61e1c9b7b52e15..ffce84e759714e94de01a546009b4b41c64cdf28:/src/trash/dolphintrash.cpp diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index 007f48a33..0bb61ff28 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -9,12 +9,11 @@ #include #include +#include #include #include -#include -#include -#include +#include Trash::Trash() : m_trashDirLister(new KDirLister()) @@ -51,7 +50,6 @@ static void notifyEmptied() i18n("Trash Emptied"), i18n("The Trash was emptied."), QStringLiteral("user-trash"), - nullptr, KNotification::DefaultEvent); } @@ -66,7 +64,7 @@ void Trash::empty(QWidget *window) bool Trash::isEmpty() { KConfig trashConfig(QStringLiteral("trashrc"), KConfig::SimpleConfig); - return (trashConfig.group("Status").readEntry("Empty", true)); + return (trashConfig.group(QStringLiteral("Status")).readEntry("Empty", true)); } #include "moc_dolphintrash.cpp"