Skip to content
This repository
Browse code

add the module names to includes and fix the QModelIndex double include

  • Loading branch information...
commit 9c147a788297269b3241e7a47b9efd40c6a4a3c6 1 parent 31090e1
Gabriel GabrielYYZ authored GabrielYYZ committed
25 razorqt-lightdm-greeter/loginform.cpp
@@ -25,18 +25,17 @@
25 25
26 26 #include "loginform.h"
27 27 #include "ui_loginform.h"
28   -#include <QDebug>
29   -#include <QCompleter>
30   -#include <QAbstractListModel>
31   -#include <QModelIndex>
32   -#include <QFile>
33   -#include <QTextStream>
34   -#include <QStringList>
35   -#include <QPixmap>
36   -#include <QMessageBox>
37   -#include <QModelIndex>
38   -#include <QMenu>
39   -#include <QProcess>
  28 +#include <QtCore/QDebug>
  29 +#include <QtGui/QCompleter>
  30 +#include <QtCore/QAbstractListModel>
  31 +#include <QtCore/QModelIndex>
  32 +#include <QtCore/QFile>
  33 +#include <QtCore/QTextStream>
  34 +#include <QtCore/QStringList>
  35 +#include <QtGui/QPixmap>
  36 +#include <QtGui/QMessageBox>
  37 +#include <QtGui/QMenu>
  38 +#include <QtCore/QProcess>
40 39 #include <razorqt/razorsettings.h>
41 40
42 41 #ifdef USING_LIGHTDM_QT_1
@@ -45,7 +44,7 @@
45 44
46 45 LoginForm::LoginForm(QWidget *parent) : QWidget(parent), ui(new Ui::LoginForm)
47 46 {
48   - if (! m_Greeter.connectSync())
  47 + if (!m_Greeter.connectSync())
49 48 {
50 49 close();
51 50 }
8 razorqt-lightdm-greeter/loginform.h
@@ -26,7 +26,7 @@
26 26 #ifndef LOGINFORM_H
27 27 #define LOGINFORM_H
28 28
29   -#include <QWidget>
  29 +#include <QtGui/QWidget>
30 30 #include <QLightDM/Greeter>
31 31 #ifdef USING_LIGHTDM_QT_1
32 32 #include <QLightDM/User>
@@ -35,9 +35,9 @@
35 35 #include <QLightDM/UsersModel>
36 36 #include <QLightDM/SessionsModel>
37 37 #endif
38   -#include <QProcess>
39   -#include <QDialog>
40   -#include <QKeyEvent>
  38 +#include <QtCore/QProcess>
  39 +#include <QtGui/QDialog>
  40 +#include <QtGui/QKeyEvent>
41 41
42 42 namespace Ui {
43 43 class LoginForm;

0 comments on commit 9c147a7

Please sign in to comment.
Something went wrong with that request. Please try again.