@@ -17,11 +17,8 @@
1717 */
1818
1919#include "Greeter.h"
20−#include <QCoreApplication>
2120#include <QLightDM/Greeter>
2221
23−#include <QDebug>
24−
2522class GreeterPrivate
2623{
2724public:
@@ -60,18 +57,9 @@ Greeter::Greeter(QObject* parent)
6057 connect(d->m_greeter, SIGNAL(authenticationComplete()),
6158 this, SLOT(authenticationCompleteFilter()));
6259
63− // Listen for "state resets"
64− connect(QCoreApplication::instance(), SIGNAL(applicationStateChanged(Qt::ApplicationState)),
65− this, SLOT(handleAppStateChange(Qt::ApplicationState)));
66−
6760 d->m_greeter->connectSync();
6861}
6962
70−void Greeter::handleAppStateChange(Qt::ApplicationState state)
71−{
72− qDebug() << "MIKE state change " << state;
73−}
74−
7563bool Greeter::isAuthenticated() const
7664{
7765 Q_D(const Greeter);