Skip to content

Commit

Permalink
Follow project coding style. Issue qbittorrent#2192.
Browse files Browse the repository at this point in the history
--HG--
branch : magao-dev
  • Loading branch information
magao committed Jan 28, 2017
1 parent 92cfd1f commit e4d9e9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
15 changes: 8 additions & 7 deletions src/gui/rss/automatedrssdownloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
* Contact : [email protected]
*/

#include <QMessageBox>
#include <QFileDialog>
#include <QCursor>
#include <QDebug>
#include <QFileDialog>
#include <QMessageBox>
#include <QMenu>
#include <QCursor>

#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"
Expand All @@ -48,9 +48,10 @@
#include "automatedrssdownloader.h"

AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer<Rss::Manager> &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
Expand Down
7 changes: 4 additions & 3 deletions src/gui/rss/automatedrssdownloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
#define AUTOMATEDRSSDOWNLOADER_H

#include <QDialog>
#include <QWeakPointer>
#include <QShortcut>
#include <QRegExpValidator>
#include <QShortcut>
#include <QWeakPointer>

#include "base/rss/rssdownloadrule.h"

QT_BEGIN_NAMESPACE
namespace Ui {
namespace Ui
{
class AutomatedRssDownloader;
}
QT_END_NAMESPACE
Expand Down

0 comments on commit e4d9e9f

Please sign in to comment.