From d2b4a6f214ba7402c36b5e5508cf73c9465f4a4b Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sun, 18 Oct 2015 21:49:29 -0700 Subject: [PATCH] Indentation --- core/backends/lan/socketlinereader.cpp | 4 ++-- kio/kiokdeconnect.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/backends/lan/socketlinereader.cpp b/core/backends/lan/socketlinereader.cpp index a6bd85eec..b973b99a9 100644 --- a/core/backends/lan/socketlinereader.cpp +++ b/core/backends/lan/socketlinereader.cpp @@ -33,8 +33,8 @@ void SocketLineReader::dataReceived() { while (mSocket->canReadLine()) { const QByteArray line = mSocket->readLine(); - if (line.length() > 1) { - mPackages.enqueue(line);//we don't want single \n + if (line.length() > 1) { //we don't want a single \n + mPackages.enqueue(line); } } diff --git a/kio/kiokdeconnect.h b/kio/kiokdeconnect.h index c30195877..2586f9ebb 100644 --- a/kio/kiokdeconnect.h +++ b/kio/kiokdeconnect.h @@ -32,7 +32,7 @@ Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_KIO) class KioKdeconnect : public QObject, public KIO::SlaveBase { - Q_OBJECT + Q_OBJECT public: KioKdeconnect(const QByteArray &pool, const QByteArray &app);