forked from qt-creator/qt-creator
Git: Modernize
* pragma once * member initialization * s/struct/class/ * Introduce a static GitPlugin::client() method and use it Change-Id: Ifdcac86dd16f3cdba11d564d03e9a15f00a6afdb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BRANCHADDDIALOG_H
|
||||
#define BRANCHADDDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@@ -40,7 +39,7 @@ class BranchAddDialog : public QDialog
|
||||
|
||||
public:
|
||||
BranchAddDialog(const QStringList &localBranches, bool addBranch, QWidget *parent);
|
||||
~BranchAddDialog();
|
||||
~BranchAddDialog() override;
|
||||
|
||||
void setBranchName(const QString &);
|
||||
QString branchName() const;
|
||||
@@ -57,5 +56,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Git
|
||||
|
||||
#endif // BRANCHADDDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user