summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppsourceprocessor.cpp
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2018-10-12 19:43:33 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-10-13 16:36:14 +0000
commit299c777c019fb9573b31034e3ca327e6ca59c500 (patch)
tree9ffd8c13587a118ba5484141f398749a6cc5b090 /src/plugins/cpptools/cppsourceprocessor.cpp
parent81a4c1d934f649a892c5f1a56a85c1441ee0c7ee (diff)
downloadqt-creator-299c777c019fb9573b31034e3ca327e6ca59c500.tar.gz
Git: Fix context menu actions in BranchViews second column
m_branchView->indexAt(point) returned another model index [column 1] than m_model->currentBranch() [column 0], if the context menu was requested in thesecond (date/time) column. The failed comparison then gave a lot of invalid actions (like merge) for the current branch. Change-Id: Icefc084c81f9b573cd151460db793d3c5a01eb2b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
0 files changed, 0 insertions, 0 deletions