diff options
author | Andrew <forkk@forkk.net> | 2013-11-22 10:54:52 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-22 10:54:52 -0600 |
commit | 23bc195b3c8558cb997789ca8772342612716993 (patch) | |
tree | 65ef5ac8bb1b20e78b8531a151905e6d6f3c589b /logic/lists/MojangAccountList.h | |
parent | 69ac3e5a86d2a5602abc6e74904f29475b99a63c (diff) | |
download | MultiMC-23bc195b3c8558cb997789ca8772342612716993.tar MultiMC-23bc195b3c8558cb997789ca8772342612716993.tar.gz MultiMC-23bc195b3c8558cb997789ca8772342612716993.tar.lz MultiMC-23bc195b3c8558cb997789ca8772342612716993.tar.xz MultiMC-23bc195b3c8558cb997789ca8772342612716993.zip |
Implement removing accounts.
Diffstat (limited to 'logic/lists/MojangAccountList.h')
-rw-r--r-- | logic/lists/MojangAccountList.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/lists/MojangAccountList.h b/logic/lists/MojangAccountList.h index 491abf6d..bccc2f9a 100644 --- a/logic/lists/MojangAccountList.h +++ b/logic/lists/MojangAccountList.h @@ -73,6 +73,11 @@ public: virtual void removeAccount(const QString& username); /*! + * Removes the account at the given QModelIndex. + */ + virtual void removeAccount(QModelIndex index); + + /*! * \brief Finds an account by its username. * \param The username of the account to find. * \return A const pointer to the account with the given username. NULL if |