From e4d9e9f63ffcb5856a4d9dc48d2b003d512070ee Mon Sep 17 00:00:00 2001 From: Tim Delaney Date: Sun, 29 Jan 2017 09:24:41 +1100 Subject: [PATCH] Follow project coding style. Issue #2192. --HG-- branch : magao-dev --- src/gui/rss/automatedrssdownloader.cpp | 15 ++++++++------- src/gui/rss/automatedrssdownloader.h | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/gui/rss/automatedrssdownloader.cpp b/src/gui/rss/automatedrssdownloader.cpp index 8aafb5237..c6de83cc9 100644 --- a/src/gui/rss/automatedrssdownloader.cpp +++ b/src/gui/rss/automatedrssdownloader.cpp @@ -28,14 +28,14 @@ * Contact : chris@qbittorrent.org */ -#include -#include +#include #include +#include +#include #include -#include -#include "base/preferences.h" #include "base/bittorrent/session.h" +#include "base/preferences.h" #include "base/rss/rssdownloadrulelist.h" #include "base/rss/rssmanager.h" #include "base/rss/rssfolder.h" @@ -48,9 +48,10 @@ #include "automatedrssdownloader.h" AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer &manager, QWidget *parent) - : QDialog(parent), - ui(new Ui::AutomatedRssDownloader), - m_manager(manager), m_editedRule(0) + : QDialog(parent) + , ui(new Ui::AutomatedRssDownloader) + , m_manager(manager) + , m_editedRule(0) { ui->setupUi(this); // Icons diff --git a/src/gui/rss/automatedrssdownloader.h b/src/gui/rss/automatedrssdownloader.h index 4c9d12d69..a9b1b1644 100644 --- a/src/gui/rss/automatedrssdownloader.h +++ b/src/gui/rss/automatedrssdownloader.h @@ -32,14 +32,15 @@ #define AUTOMATEDRSSDOWNLOADER_H #include -#include -#include #include +#include +#include #include "base/rss/rssdownloadrule.h" QT_BEGIN_NAMESPACE -namespace Ui { +namespace Ui +{ class AutomatedRssDownloader; } QT_END_NAMESPACE