diff options
author | janrupf <werbung.janrupf@t-online.de> | 2018-11-09 20:44:39 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-12 01:49:52 +0100 |
commit | 4cc7329ce33e1d6441c9b43b217b003c0a78e985 (patch) | |
tree | a13b308fc3330e3bf45b0fb2a28d96315ad2218c /application/VersionProxyModel.h | |
parent | 16df8d7b883f10239a961997ba8ff123100ebfae (diff) | |
download | MultiMC-4cc7329ce33e1d6441c9b43b217b003c0a78e985.tar MultiMC-4cc7329ce33e1d6441c9b43b217b003c0a78e985.tar.gz MultiMC-4cc7329ce33e1d6441c9b43b217b003c0a78e985.tar.lz MultiMC-4cc7329ce33e1d6441c9b43b217b003c0a78e985.tar.xz MultiMC-4cc7329ce33e1d6441c9b43b217b003c0a78e985.zip |
GH-2144 Append '(installed)' to the installed version name
Diffstat (limited to 'application/VersionProxyModel.h')
-rw-r--r-- | application/VersionProxyModel.h | 2 |
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; }; |