Allow users to filter out MCNostalgia and Snapshots from the version list.
Resolves JIRA issue MMC-9: https://jira.forkk.net/browse/MMC-9
This commit is contained in:
		@@ -18,6 +18,8 @@
 | 
			
		||||
 | 
			
		||||
#include <QDialog>
 | 
			
		||||
 | 
			
		||||
#include <QSortFilterProxyModel>
 | 
			
		||||
 | 
			
		||||
class InstVersionList;
 | 
			
		||||
class InstVersion;
 | 
			
		||||
 | 
			
		||||
@@ -44,10 +46,14 @@ public:
 | 
			
		||||
private slots:
 | 
			
		||||
	void on_refreshButton_clicked();
 | 
			
		||||
	
 | 
			
		||||
	void updateFilterState();
 | 
			
		||||
	
 | 
			
		||||
private:
 | 
			
		||||
	Ui::VersionSelectDialog *ui;
 | 
			
		||||
	
 | 
			
		||||
	InstVersionList *m_vlist;
 | 
			
		||||
	
 | 
			
		||||
	QSortFilterProxyModel *m_proxyModel;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif // VERSIONSELECTDIALOG_H
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user