summaryrefslogtreecommitdiffstats
path: root/application/VersionProxyModel.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-09 01:30:23 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-09 01:30:23 +0100
commitef2cbe16e611da68f3cb529f87f4ecb3038af161 (patch)
tree7e9c6f9ab45ae90891e64cc245547c4b8cb79b66 /application/VersionProxyModel.h
parent57accb1cbb4a2deee050ded9f541faeacfbcc787 (diff)
downloadMultiMC-ef2cbe16e611da68f3cb529f87f4ecb3038af161.tar
MultiMC-ef2cbe16e611da68f3cb529f87f4ecb3038af161.tar.gz
MultiMC-ef2cbe16e611da68f3cb529f87f4ecb3038af161.tar.lz
MultiMC-ef2cbe16e611da68f3cb529f87f4ecb3038af161.tar.xz
MultiMC-ef2cbe16e611da68f3cb529f87f4ecb3038af161.zip
NOISSUE when there is a version added already, preselect it in the version select dialog
Diffstat (limited to 'application/VersionProxyModel.h')
-rw-r--r--application/VersionProxyModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/VersionProxyModel.h b/application/VersionProxyModel.h
index 19e89271..4441ea6b 100644
--- a/application/VersionProxyModel.h
+++ b/application/VersionProxyModel.h
@@ -42,6 +42,7 @@ public:
void setFilter(const BaseVersionList::ModelRoles column, const QString &filter, const bool exact);
void clearFilters();
QModelIndex getRecommended() const;
+ QModelIndex getVersion(const QString & version) const;
private slots:
void sourceDataChanged(const QModelIndex &source_top_left,const QModelIndex &source_bottom_right);