Commit 98ebe37e authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Remove redundant null validation

Change-Id: Id4b8629fcb0c4b7d26d849bc15ab0cbd61c19fd2
Reviewed-by: default avatarTobias Hunger <>
parent 642706dc
......@@ -164,7 +164,7 @@ void BranchDialog::add()
branchAddDialog.setTrackedBranchName(isTag ? QString() : trackedBranch, !isLocal);
if (branchAddDialog.exec() == QDialog::Accepted && m_model) {
if (branchAddDialog.exec() == QDialog::Accepted) {
QModelIndex idx = m_model->addBranch(branchAddDialog.branchName(), branchAddDialog.track(), trackedIndex);
if (!idx.isValid())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment