GH-2144 Append '(installed)' to the installed version name

This commit is contained in:
janrupf
2018-11-09 20:44:39 +01:00
committed by Petr Mrázek
parent 16df8d7b88
commit 4cc7329ce3
3 changed files with 15 additions and 1 deletions

View File

@@ -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;
};