@@ -17,11 +17,8 @@
19#include "Greeter.h"
19#include "Greeter.h"
20−#include <QCoreApplication>
21#include <QLightDM/Greeter>
20#include <QLightDM/Greeter>
25class GreeterPrivate
22class GreeterPrivate
@@ -60,18 +57,9 @@ Greeter::Greeter(QObject* parent)
60 connect(d->m_greeter, SIGNAL(authenticationComplete()),
57 connect(d->m_greeter, SIGNAL(authenticationComplete()),
61 this, SLOT(authenticationCompleteFilter()));
58 this, SLOT(authenticationCompleteFilter()));
63− // Listen for "state resets"
64− connect(QCoreApplication::instance(), SIGNAL(applicationStateChanged(Qt::ApplicationState)),
65− this, SLOT(handleAppStateChange(Qt::ApplicationState)));
67 d->m_greeter->connectSync();
60 d->m_greeter->connectSync();
70−void Greeter::handleAppStateChange(Qt::ApplicationState state)
72− qDebug() << "MIKE state change " << state;
75bool Greeter::isAuthenticated() const
63bool Greeter::isAuthenticated() const
77 Q_D(const Greeter);
65 Q_D(const Greeter);