diff options
author | David Edmundson <kde@davidedmundson.co.uk> | 2013-02-02 14:08:02 +0000 |
---|---|---|
committer | David Edmundson <kde@davidedmundson.co.uk> | 2013-02-02 14:08:02 +0000 |
commit | 243a5c4119063ebb8d0bbc222982b2c5089f9ce5 (patch) | |
tree | 3293db36350abe5a6a60c904df683b2a28c2f77d /liblightdm-qt | |
parent | f5033d168bd2b00ea0cd5f362d244aeab2028176 (diff) | |
download | lightdm-243a5c4119063ebb8d0bbc222982b2c5089f9ce5.tar.gz |
Fix potential crash in QLightDM::UsersModel closedown.
After the Qt object is destroyed we try to remoe the connection to the Gobject singleton.
This did not work, as such any changes would cause a crash.
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 7eaadd13..6dbcebab 100644 --- a/liblightdm-qt/usersmodel.cpp +++ b/liblightdm-qt/usersmodel.cpp @@ -71,7 +71,7 @@ UsersModelPrivate::UsersModelPrivate(UsersModel* parent) : UsersModelPrivate::~UsersModelPrivate() { - g_signal_handlers_disconnect_by_func(lightdm_user_list_get_instance(), NULL, this); + g_signal_handlers_disconnect_by_data(lightdm_user_list_get_instance(), this); } void UsersModelPrivate::loadUsers() |