Git: Fix target branch auto-detection in Push to Gerrit
Git: Fix target branch auto-detection in Push to Gerrit

Initialization order is important.

* updateCommits populates the LogChangeWidget.
* determineRemoteBranch looks up by earliest commit (for which the
  LogChangeWidget must already by populated)
* Assignment to m_suggestedRemoteBranch must come before calling
  setRemoteBranches
* remoteComboBox was wrongfully used instead of targetBranchComboBox

Change-Id: Ib0db057313c8fd65910b0ec7394b6b8c7d997dab
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@digia.com>

Distrotech/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,farseerri/git_code,omniacreator/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,danimo/qt-creator,omniacreator/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,farseerri/git_code,darksylinc/qt-creator,kuba1/qtcreator,danimo/qt-creator,omniacreator/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,xianian/qt-creator,colede/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,colede/qtcreator,farseerri/git_code,kuba1/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,xianian/qt-creator,kuba1/qtcreator,farseerri/git_code,Distrotech/qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,danimo/qt-creator,kuba1/qtcreator,xianian/qt-creator,darksylinc/qt-creator,darksylinc/qt-creator,maui-packages/qt-creator,xianian/qt-creator,xianian/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,omniacreator/qtcreator,danimo/qt-creator,xianian/qt-creator,farseerri/git_code,darksylinc/qt-creator,xianian/qt-creator,danimo/qt-creator,farseerri/git_code,darksylinc/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,Distrotech/qtcreator