From kde-commits Mon Jul 31 20:17:29 2017 From: Montel Laurent Date: Mon, 31 Jul 2017 20:17:29 +0000 To: kde-commits Subject: [ruqola] src: Coding style Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=150153225919561 Git commit 5e9ba26c080fc9fa8900286878fb87d86fe333f1 by Montel Laurent. Committed on 31/07/2017 at 20:17. Pushed by mlaurent into branch 'master'. Coding style M +0 -1 src/messagemodel.cpp M +0 -1 src/qml/Login.qml M +1 -1 src/qml/UserInput.qml https://commits.kde.org/ruqola/5e9ba26c080fc9fa8900286878fb87d86fe333f1 diff --git a/src/messagemodel.cpp b/src/messagemodel.cpp index 5755218..fc2bed2 100644 --- a/src/messagemodel.cpp +++ b/src/messagemodel.cpp @@ -75,7 +75,6 @@ Message MessageModel::fromJSon(const QJsonObject& o) message.systemMessage =3D o[QStringLiteral("systemMessage")].toBool(); message.systemMessageType =3D o[QStringLiteral("type")].toString(); = - = return message; } = diff --git a/src/qml/Login.qml b/src/qml/Login.qml index 7bcc0ed..f657107 100644 --- a/src/qml/Login.qml +++ b/src/qml/Login.qml @@ -85,7 +85,6 @@ Kirigami.Page { id:username width: parent.width text: qsTr("Enter your username") - = } TextField { width: parent.width diff --git a/src/qml/UserInput.qml b/src/qml/UserInput.qml index d155e29..09a3ee4 100644 --- a/src/qml/UserInput.qml +++ b/src/qml/UserInput.qml @@ -67,7 +67,7 @@ RowLayout { = Layout.fillWidth: true placeholderText: { - if (Ruqola.loginStatus !=3D DDPClient.LoggedIn || (selectedRoo= mID=3D=3D"")){ + if (Ruqola.loginStatus !=3D DDPClient.LoggedIn || (selectedRoo= mID =3D=3D "")){ qsTr("Please Select a room") } else { qsTr("Enter message")