summaryrefslogtreecommitdiffstats
path: root/src/sessiontreemodel.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-05 16:17:16 +0200
committerSimon Rettberg2019-06-05 16:17:16 +0200
commit615ca2f927e8a4c4b5b0591495e7c9417231cab3 (patch)
tree1962e3603a24baa0d4c2cc06c65ab32542243975 /src/sessiontreemodel.h
parentUse Qt5 style signal/slot connections (diff)
downloadvmchooser2-615ca2f927e8a4c4b5b0591495e7c9417231cab3.tar.gz
vmchooser2-615ca2f927e8a4c4b5b0591495e7c9417231cab3.tar.xz
vmchooser2-615ca2f927e8a4c4b5b0591495e7c9417231cab3.zip
Don't group by type in "recent" tab
Diffstat (limited to 'src/sessiontreemodel.h')
-rw-r--r--src/sessiontreemodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sessiontreemodel.h b/src/sessiontreemodel.h
index febd0aa..b7943aa 100644
--- a/src/sessiontreemodel.h
+++ b/src/sessiontreemodel.h
@@ -13,7 +13,7 @@ class SessionTreeModel : public QAbstractItemModel {
Q_OBJECT
public:
- explicit SessionTreeModel(QObject *parent = nullptr);
+ explicit SessionTreeModel(QObject *parent = nullptr, bool ignoreSections = false);
~SessionTreeModel();
QVariant data(const QModelIndex &index, int role) const;
@@ -37,6 +37,7 @@ class SessionTreeModel : public QAbstractItemModel {
private:
SessionTreeItem* root_;
+ bool ignoreSections_;
};
#endif // VMCHOOSER_SESSIONTREEMODEL_H