summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/VersionSelectDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/VersionSelectDialog.h')
-rw-r--r--gui/dialogs/VersionSelectDialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/dialogs/VersionSelectDialog.h b/gui/dialogs/VersionSelectDialog.h
index 34df4d23..70ee9635 100644
--- a/gui/dialogs/VersionSelectDialog.h
+++ b/gui/dialogs/VersionSelectDialog.h
@@ -27,6 +27,8 @@ namespace Ui
class VersionSelectDialog;
}
+class VersionSelectProxyModel;
+
class VersionSelectDialog : public QDialog
{
Q_OBJECT
@@ -47,6 +49,7 @@ public:
void setExactFilter(int column, QString filter);
void setEmptyString(QString emptyString);
void setResizeOn(int column);
+ void setUseLatest(const bool useLatest);
private
slots:
@@ -57,7 +60,8 @@ private:
BaseVersionList *m_vlist;
- QSortFilterProxyModel *m_proxyModel;
+ VersionSelectProxyModel *m_proxyModel;
int resizeOnColumn = 0;
+ bool m_useLatest;
};