Commit c364c727 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent b414353d
...@@ -25,4 +25,4 @@ include(FindPackageHandleStandardArgs) ...@@ -25,4 +25,4 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(pwquality DEFAULT_MSG find_package_handle_standard_args(pwquality DEFAULT_MSG
PWQUALITY_LIBRARY PWQUALITY_INCLUDE_DIR) PWQUALITY_LIBRARY PWQUALITY_INCLUDE_DIR)
mark_as_advanced(PWQUALITY_INCLUDE_DIR PWQUALITY_LIBRARY ) mark_as_advanced(PWQUALITY_INCLUDE_DIR PWQUALITY_LIBRARY )
\ No newline at end of file
...@@ -259,8 +259,6 @@ ...@@ -259,8 +259,6 @@
</spacer> </spacer>
</item> </item>
</layout> </layout>
<zorder>widget_2</zorder>
<zorder>verticalSpacer</zorder>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>face</tabstop> <tabstop>face</tabstop>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifndef ACCOUNT_INFO_WIDGET #ifndef ACCOUNT_INFO_WIDGET
#define ACCOUNT_INFO_WIDGET #define ACCOUNT_INFO_WIDGET
#include <QtCore/QModelIndex> #include <QModelIndex>
#include <QWidget> #include <QWidget>
#include <QStringList> #include <QStringList>
......
...@@ -101,7 +101,7 @@ AccountModel::AccountModel(QObject* parent) ...@@ -101,7 +101,7 @@ AccountModel::AccountModel(QObject* parent)
connect(m_dbus, SIGNAL(UserAdded(QDBusObjectPath)), SLOT(UserAdded(QDBusObjectPath))); connect(m_dbus, SIGNAL(UserAdded(QDBusObjectPath)), SLOT(UserAdded(QDBusObjectPath)));
connect(m_dbus, SIGNAL(UserDeleted(QDBusObjectPath)), SLOT(UserDeleted(QDBusObjectPath))); connect(m_dbus, SIGNAL(UserDeleted(QDBusObjectPath)), SLOT(UserDeleted(QDBusObjectPath)));
connect(m_sessions, SIGNAL(userLogged(uint, bool)), SLOT(userLogged(uint, bool))); connect(m_sessions, SIGNAL(userLogged(uint,bool)), SLOT(userLogged(uint,bool)));
} }
AccountModel::~AccountModel() AccountModel::~AccountModel()
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
#define ACCOUNTMODEL_H #define ACCOUNTMODEL_H
#include "user_manager_debug.h" #include "user_manager_debug.h"
#include <QtCore/QStringList> #include <QStringList>
#include <QtCore/QAbstractListModel> #include <QAbstractListModel>
#include <QDBusObjectPath> #include <QDBusObjectPath>
#include <QDBusPendingReply> #include <QDBusPendingReply>
#include <KEMailSettings> #include <KEMailSettings>
......
...@@ -24,16 +24,16 @@ ...@@ -24,16 +24,16 @@
#ifndef MODELTEST_H #ifndef MODELTEST_H
#define MODELTEST_H #define MODELTEST_H
#include <QtCore/QObject> #include <QObject>
#include <QtCore/QAbstractItemModel> #include <QAbstractItemModel>
#include <QtCore/QStack> #include <QStack>
class ModelTest : public QObject class ModelTest : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
ModelTest(QAbstractItemModel *model, QObject *parent = nullptr); explicit ModelTest(QAbstractItemModel *model, QObject *parent = nullptr);
private Q_SLOTS: private Q_SLOTS:
void nonDestructiveBasicTest(); void nonDestructiveBasicTest();
......
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA *
*************************************************************************************/ *************************************************************************************/
#ifndef PASSWORDEDIT_H
#define PASSWORDEDIT_H
#include <QLineEdit> #include <QLineEdit>
#include <QFocusEvent> #include <QFocusEvent>
...@@ -32,3 +35,5 @@ class PasswordEdit : public QLineEdit ...@@ -32,3 +35,5 @@ class PasswordEdit : public QLineEdit
protected: protected:
void focusInEvent(QFocusEvent* e) override; void focusInEvent(QFocusEvent* e) override;
}; };
#endif
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <pwquality.h> #include <pwquality.h>
#include <QtCore/QDebug> #include <QDebug>
#include <QListView> #include <QListView>
#include <QVBoxLayout> #include <QVBoxLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment