summaryrefslogtreecommitdiff
path: root/liblightdm-qt
diff options
context:
space:
mode:
Diffstat (limited to 'liblightdm-qt')
-rw-r--r--liblightdm-qt/usersmodel.cpp2
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()