Initialize recycle bin's count to 0.
This commit is contained in:
parent
58ff1d5f70
commit
7f4a50336c
@ -24,7 +24,8 @@
|
||||
#include "services/abstract/serviceroot.h"
|
||||
|
||||
|
||||
RecycleBin::RecycleBin(RootItem *parent_item) : RootItem(parent_item), m_contextMenu(QList<QAction*>()) {
|
||||
RecycleBin::RecycleBin(RootItem *parent_item) : RootItem(parent_item), m_totalCount(0),
|
||||
m_unreadCount(0), m_contextMenu(QList<QAction*>()) {
|
||||
setKind(RootItemKind::Bin);
|
||||
setId(ID_RECYCLE_BIN);
|
||||
setIcon(qApp->icons()->fromTheme(QSL("folder-recycle-bin")));
|
||||
|
@ -181,7 +181,7 @@ void StandardServiceRoot::loadFromDatabase(){
|
||||
|
||||
// As the last item, add recycle bin, which is needed.
|
||||
appendChild(m_recycleBin);
|
||||
updateCounts(true);
|
||||
//updateCounts(true);
|
||||
}
|
||||
|
||||
void StandardServiceRoot::checkArgumentsForFeedAdding() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user