Bazaar: Modernize

* Use pragma once
* Remove unused member variables
* Use overrides

Change-Id: I190262143e6a51cf6882aceab64e8461202c74a3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-03 17:35:54 +01:00
parent 063b9775a9
commit 74849134f4
22 changed files with 67 additions and 126 deletions

View File

@@ -30,10 +30,9 @@
using namespace Bazaar::Internal;
PullOrPushDialog::PullOrPushDialog(Mode mode, QWidget *parent)
: QDialog(parent),
m_mode(mode),
m_ui(new Ui::PullOrPushDialog)
PullOrPushDialog::PullOrPushDialog(Mode mode, QWidget *parent) : QDialog(parent),
m_mode(mode),
m_ui(new Ui::PullOrPushDialog)
{
m_ui->setupUi(this);
m_ui->localPathChooser->setExpectedKind(Utils::PathChooser::Directory);