forked from qt-creator/qt-creator
Git BranchAddDialog: small fixes
Change-Id: I99910fdb3a646ad818ad58103beb5f63de57ec18 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -64,8 +64,6 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
~BranchNameValidator() {}
|
|
||||||
|
|
||||||
State validate(QString &input, int &pos) const override
|
State validate(QString &input, int &pos) const override
|
||||||
{
|
{
|
||||||
Q_UNUSED(pos)
|
Q_UNUSED(pos)
|
||||||
@@ -141,7 +139,7 @@ void BranchAddDialog::setTrackedBranchName(const QString &name, bool remote)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BranchAddDialog::track()
|
bool BranchAddDialog::track() const
|
||||||
{
|
{
|
||||||
return m_ui->trackingCheckBox->isChecked();
|
return m_ui->trackingCheckBox->isChecked();
|
||||||
}
|
}
|
||||||
|
@@ -46,7 +46,7 @@ public:
|
|||||||
|
|
||||||
void setTrackedBranchName(const QString &name, bool remote);
|
void setTrackedBranchName(const QString &name, bool remote);
|
||||||
|
|
||||||
bool track();
|
bool track() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void updateButtonStatus();
|
void updateButtonStatus();
|
||||||
|
Reference in New Issue
Block a user