on xenial help sign in
Convert signal connection to new style
commit3dc7bb76cf0d06a40ba35cae0e6570737da2d0a1 authorJosh Arenson <joshua.arenson@canonical.com> dateThu 3 Sep 2015, 10:59 (11 years ago) parent821a202
1 file changed+2−2
plugins/LightDM/DBusGreeterList.cpp+2−2
plugins/LightDM/DBusGreeterList.cpp+2−2
@@ -24,8 +24,8 @@ DBusGreeterList::DBusGreeterList(Greeter *greeter, const QString &path)
2424 : UnityDBusObject(path, "com.canonical.UnityGreeter", true, greeter),
2525 m_greeter(greeter)
2626{
27− connect(m_greeter, SIGNAL(authenticationUserChanged(const QString &)), this, SLOT(authenticationUserChangedHandler(const QString &)));
28− connect(m_greeter, SIGNAL(promptlessChanged()), this, SLOT(promptlessChangedHandler()));
27+ connect(m_greeter, &Greeter::authenticationUserChanged, this, &DBusGreeterList::authenticationUserChangedHandler);
28+ connect(m_greeter, &Greeter::promptlessChanged, this, &DBusGreeterList::promptlessChangedHandler);
2929}
3030
3131QString DBusGreeterList::GetActiveEntry() const