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

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PULLORPUSHDIALOG_H
#define PULLORPUSHDIALOG_H
#pragma once
#include <QDialog>
@@ -44,7 +43,7 @@ public:
};
explicit PullOrPushDialog(Mode mode, QWidget *parent = 0);
~PullOrPushDialog();
~PullOrPushDialog() override;
// Common parameters and options
QString branchLocation() const;
@@ -60,7 +59,7 @@ public:
bool isCreatePrefixOptionEnabled() const;
protected:
void changeEvent(QEvent *e);
void changeEvent(QEvent *e) override;
private:
Mode m_mode;
@@ -69,5 +68,3 @@ private:
} // namespace Internal
} // namespace Bazaar
#endif // PULLORPUSHDIALOG_H