]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Add missing this parameter
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 11 Mar 2018 16:07:20 +0000 (17:07 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 11 Mar 2018 16:07:20 +0000 (17:07 +0100)
Forgot to mention it while reviewing D11012.

src/trash/dolphintrash.cpp

index 10d9badf5779cac5ccf20db62fa7443e7dd2793c..cb2e3be665ecd607741e7facdedd7d43c25c5153 100644 (file)
@@ -40,7 +40,7 @@ Trash::Trash()
         bool isTrashEmpty = m_trashDirLister->items().isEmpty();
         emit emptinessChanged(isTrashEmpty);
     };
-    connect(m_trashDirLister, static_cast<void(KDirLister::*)()>(&KDirLister::completed), trashDirContentChanged);
+    connect(m_trashDirLister, static_cast<void(KDirLister::*)()>(&KDirLister::completed), this, trashDirContentChanged);
     m_trashDirLister->openUrl(QStringLiteral("trash:/"));
 }