]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/trash/dolphintrash.cpp
fix information panel icon
[dolphin.git] / src / trash / dolphintrash.cpp
index bbc9c579f40ad80a040a42d865c055005065f592..0bb61ff28cdc5c044417e6ef3c3479f1406ccadb 100644 (file)
@@ -50,7 +50,6 @@ static void notifyEmptied()
                          i18n("Trash Emptied"),
                          i18n("The Trash was emptied."),
                          QStringLiteral("user-trash"),
-                         nullptr,
                          KNotification::DefaultEvent);
 }
 
@@ -65,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"