summaryrefslogtreecommitdiffstats
path: root/logic/auth/MojangAccountList.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-12-14 09:35:23 +0000
committerSky <git@bunnies.cc>2013-12-14 09:35:23 +0000
commit20a332e97cad70582ac9fa89e37e231dbfeed454 (patch)
treeb73bc7cb6beeb19ebe1631c5129dc567c7c899d0 /logic/auth/MojangAccountList.h
parent50e9574c0cf8ffc6167799608d95201e6dcfb391 (diff)
downloadMultiMC-20a332e97cad70582ac9fa89e37e231dbfeed454.tar
MultiMC-20a332e97cad70582ac9fa89e37e231dbfeed454.tar.gz
MultiMC-20a332e97cad70582ac9fa89e37e231dbfeed454.tar.lz
MultiMC-20a332e97cad70582ac9fa89e37e231dbfeed454.tar.xz
MultiMC-20a332e97cad70582ac9fa89e37e231dbfeed454.zip
Make the account selection list use checkboxes rather than text for active boolean
Diffstat (limited to 'logic/auth/MojangAccountList.h')
-rw-r--r--logic/auth/MojangAccountList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/auth/MojangAccountList.h b/logic/auth/MojangAccountList.h
index b3301bf6..c7e30958 100644
--- a/logic/auth/MojangAccountList.h
+++ b/logic/auth/MojangAccountList.h
@@ -64,6 +64,8 @@ public:
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
virtual int rowCount(const QModelIndex &parent) const;
virtual int columnCount(const QModelIndex &parent) const;
+ virtual Qt::ItemFlags flags(const QModelIndex &index) const;
+ virtual bool setData(const QModelIndex &index, const QVariant &value, int role);
/*!
* Adds a the given Mojang account to the account list.