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:
@@ -38,13 +38,12 @@ namespace Internal {
|
||||
class BranchComboBox : public QComboBox
|
||||
{
|
||||
public:
|
||||
BranchComboBox(QWidget *parent = 0);
|
||||
explicit BranchComboBox(QWidget *parent = nullptr);
|
||||
void init(const QString &repository);
|
||||
|
||||
private:
|
||||
Git::Internal::GitClient *m_client;
|
||||
QString m_repository;
|
||||
bool m_detached;
|
||||
bool m_detached = false;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user