on xenial help sign in
Remove testing code that slipped in
commitfe50a4a1a60571fa5ae953dea01e5edab171b7d8 authorMichael Terry <michael.terry@canonical.com> dateFri 25 Apr 2014, 09:27 (12 years ago) parentebc6a48
2 files changed−13
plugins/LightDM/Greeter.cpp−12 plugins/LightDM/Greeter.h−1
plugins/LightDM/Greeter.cpp−12
@@ -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);
plugins/LightDM/Greeter.h−1
@@ -70,7 +70,6 @@ private Q_SLOTS:
7070 void showMessageFilter(const QString &text, QLightDM::Greeter::MessageType type);
7171 void showPromptFilter(const QString &text, QLightDM::Greeter::PromptType type);
7272 void authenticationCompleteFilter();
73− void handleAppStateChange(Qt::ApplicationState state);
7473};
7574
7675#endif