diff options
author | David Edmundson <david@davidedmundson.co.uk> | 2012-02-20 00:59:01 +0000 |
---|---|---|
committer | David Edmundson <david@davidedmundson.co.uk> | 2012-02-20 00:59:01 +0000 |
commit | 400aa533c33399fd300d550ab60bd852e1543b0f (patch) | |
tree | 8bd5096bac472b8b2408ce977ac0123311519c23 /liblightdm-qt | |
parent | 15242be91bd837cfc297886663d10f1a849d252d (diff) | |
download | lightdm-400aa533c33399fd300d550ab60bd852e1543b0f.tar.gz |
Fix Qt bindings crash when removing a user.
Diffstat (limited to 'liblightdm-qt')
-rw-r--r-- | liblightdm-qt/usersmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-qt/usersmodel.cpp b/liblightdm-qt/usersmodel.cpp index d9af4006..1b2324ee 100644 --- a/liblightdm-qt/usersmodel.cpp +++ b/liblightdm-qt/usersmodel.cpp @@ -167,7 +167,7 @@ void UsersModelPrivate::cb_userRemoved(LightDMUserList *user_list, LightDMUser * if (that->users[i].name == userToRemove) { that->q_ptr->beginRemoveRows(QModelIndex(), i, i); that->users.removeAt(i); - that->q_ptr->endMoveRows(); + that->q_ptr->endRemoveRows(); break; } } |