summaryrefslogtreecommitdiffstats
path: root/application/VersionProxyModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/VersionProxyModel.h')
-rw-r--r--application/VersionProxyModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/VersionProxyModel.h b/application/VersionProxyModel.h
index 457acfeb..8991c31b 100644
--- a/application/VersionProxyModel.h
+++ b/application/VersionProxyModel.h
@@ -42,6 +42,7 @@ public:
void clearFilters();
QModelIndex getRecommended() const;
QModelIndex getVersion(const QString & version) const;
+ void setCurrentVersion(const QString &version);
private slots:
void sourceDataChanged(const QModelIndex &source_top_left,const QModelIndex &source_bottom_right);
@@ -62,4 +63,5 @@ private:
VersionFilterModel * filterModel;
bool hasRecommended = false;
bool hasLatest = false;
+ QString m_currentVersion;
};