forked from qt-creator/qt-creator
Git: Remove wrong assertions
Changed in 89523c14
Change-Id: I872c37633a877e982046b2a44266159d86defbde
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
26e97398ab
commit
3cefd0288e
@@ -293,7 +293,6 @@ void BranchDialog::log()
|
|||||||
void BranchDialog::merge()
|
void BranchDialog::merge()
|
||||||
{
|
{
|
||||||
QModelIndex idx = selectedIndex();
|
QModelIndex idx = selectedIndex();
|
||||||
QTC_CHECK(m_model->isLocal(m_model->currentBranch())); // otherwise the button would not be enabled!
|
|
||||||
QTC_CHECK(idx != m_model->currentBranch()); // otherwise the button would not be enabled!
|
QTC_CHECK(idx != m_model->currentBranch()); // otherwise the button would not be enabled!
|
||||||
|
|
||||||
const QString branch = m_model->branchName(idx);
|
const QString branch = m_model->branchName(idx);
|
||||||
@@ -305,7 +304,6 @@ void BranchDialog::merge()
|
|||||||
void BranchDialog::rebase()
|
void BranchDialog::rebase()
|
||||||
{
|
{
|
||||||
QModelIndex idx = selectedIndex();
|
QModelIndex idx = selectedIndex();
|
||||||
QTC_CHECK(m_model->isLocal(m_model->currentBranch())); // otherwise the button would not be enabled!
|
|
||||||
QTC_CHECK(idx != m_model->currentBranch()); // otherwise the button would not be enabled!
|
QTC_CHECK(idx != m_model->currentBranch()); // otherwise the button would not be enabled!
|
||||||
|
|
||||||
const QString baseBranch = m_model->branchName(idx);
|
const QString baseBranch = m_model->branchName(idx);
|
||||||
|
|||||||
Reference in New Issue
Block a user