Commit 2f1d0288 authored by Ronan's avatar Ronan
Browse files

fix(app): little fixes

parent 64e3c942
......@@ -6,7 +6,7 @@
// ===================================================================
class AccountSettingsListModel : public QObject {
Q_OBJECT;
Q_OBJECT
Q_PROPERTY(int index
READ getDefaultAccount
......
......@@ -6,15 +6,19 @@
// ===================================================================
class AccountSettingsModel : public QObject {
Q_OBJECT;
Q_PROPERTY(QString username
READ getUsername
WRITE setUsername);
Q_PROPERTY(Presence presence
READ getPresence
WRITE setPresence);
Q_OBJECT
Q_PROPERTY(
QString username
READ getUsername
WRITE setUsername
);
Q_PROPERTY(
Presence presence
READ getPresence
WRITE setPresence
);
public:
// See: https://tools.ietf.org/html/rfc4480#section-3.2
......
......@@ -8,7 +8,7 @@
// ===================================================================
class SettingsModel : public QObject {
Q_OBJECT;
Q_OBJECT
public:
SettingsModel (QObject *parent = Q_NULLPTR);
......
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