summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2018-05-07 09:06:49 (GMT)
committerTobias Markmann <tm@ayena.de>2018-05-07 09:06:49 (GMT)
commite9f6129a4ce5db25bcb6de47be94ee89357713d0 (patch)
tree5992b8d0146b7e82c5564843b85578fde7a1636f /Swift/QtUI/QtChatOverviewBundle.h
parent699eb1459ea478b2a0e20d6867cd6be19f939d6e (diff)
downloadswift-e9f6129a4ce5db25bcb6de47be94ee89357713d0.zip
swift-e9f6129a4ce5db25bcb6de47be94ee89357713d0.tar.bz2
Allow to hide empty overview bundles in roster
This fixes a regression of commit 19eefe668. Test-Information: Ran Swift and verified that the 'Unread' bundle is never shown if empty. Change-Id: If13b84291e08d14bbbed57f53e0999e78e20f21d
Diffstat (limited to 'Swift/QtUI/QtChatOverviewBundle.h')
-rw-r--r--Swift/QtUI/QtChatOverviewBundle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatOverviewBundle.h b/Swift/QtUI/QtChatOverviewBundle.h
index 6e232ca..95fd5d2 100644
--- a/Swift/QtUI/QtChatOverviewBundle.h
+++ b/Swift/QtUI/QtChatOverviewBundle.h
@@ -49,6 +49,9 @@ namespace Swift {
void handleItemClicked(const QModelIndex&);
private:
+ void updateVisibility();
+
+ private:
ChattablesModel* rootModel_;
QtExpandedListView* listView_;
BundleFilter* proxyModel_;