Avoid inserting characters that are already there
Avoid inserting characters that are already there

When completing, don't insert "();" characters when they're already
there. Skip them instead.

(cherry picked from commit 86427ecf62def3ae13caaf3f7785cdc0e95943d9)

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

colede/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,ostash/qt-creator-i18n-uk,KDE/android-qt-creator,richardmg/qtcreator,colede/qtcreator,duythanhphan/qt-creator,KDAB/KDAB-Creator,syntheticpp/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,richardmg/qtcreator,hdweiss/qt-creator-visualizer,renatofilho/QtCreator,farseerri/git_code,yinyunqiao/qtcreator,dmik/qt-creator-os2,xianian/qt-creator,richardmg/qtcreator,yinyunqiao/qtcreator,sandsmark/qtcreator-minimap,colede/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,pcacjr/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,duythanhphan/qt-creator,jonnor/qt-creator,kuba1/qtcreator,kuba1/qtcreator,renatofilho/QtCreator,xianian/qt-creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,jonnor/qt-creator,syntheticpp/qt-creator,bakaiadam/collaborative_qt_creator,renatofilho/QtCreator,omniacreator/qtcreator,syntheticpp/qt-creator,kuba1/qtcreator,xianian/qt-creator,azat/qtcreator,xianian/qt-creator,KDAB/KDAB-Creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,enricoros/k-qt-creator-inspector,dmik/qt-creator-os2,amyvmiwei/qt-creator,pcacjr/qt-creator,danimo/qt-creator,yinyunqiao/qtcreator,azat/qtcreator,hdweiss/qt-creator-visualizer,colede/qtcreator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,hdweiss/qt-creator-visualizer,Distrotech/qtcreator,omniacreator/qtcreator,xianian/qt-creator,kuba1/qtcreator,sandsmark/qtcreator-minimap,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,enricoros/k-qt-creator-inspector,duythanhphan/qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,KDAB/KDAB-Creator,yinyunqiao/qtcreator,Distrotech/qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,dmik/qt-creator-os2,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,KDAB/KDAB-Creator,syntheticpp/qt-creator,jonnor/qt-creator,richardmg/qtcreator,renatofilho/QtCreator,pcacjr/qt-creator,farseerri/git_code,sandsmark/qtcreator-minimap,malikcjm/qtcreator,xianian/qt-creator,KDE/android-qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,sandsmark/qtcreator-minimap,darksylinc/qt-creator,yinyunqiao/qtcreator,enricoros/k-qt-creator-inspector,duythanhphan/qt-creator,xianian/qt-creator,bakaiadam/collaborative_qt_creator,kuba1/qtcreator,azat/qtcreator,Distrotech/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,danimo/qt-creator,malikcjm/qtcreator,KDAB/KDAB-Creator,AltarBeastiful/qt-creator,farseerri/git_code,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,amyvmiwei/qt-creator,jonnor/qt-creator,omniacreator/qtcreator,omniacreator/qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,Distrotech/qtcreator,enricoros/k-qt-creator-inspector,farseerri/git_code,enricoros/k-qt-creator-inspector,KDE/android-qt-creator,duythanhphan/qt-creator,renatofilho/QtCreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,enricoros/k-qt-creator-inspector,pcacjr/qt-creator,dmik/qt-creator-os2,maui-packages/qt-creator,pcacjr/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,colede/qtcreator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,jonnor/qt-creator,richardmg/qtcreator,azat/qtcreator,malikcjm/qtcreator,dmik/qt-creator-os2,malikcjm/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer,danimo/qt-creator,sandsmark/qtcreator-minimap,omniacreator/qtcreator,KDE/android-qt-creator,bakaiadam/collaborative_qt_creator,amyvmiwei/qt-creator,farseerri/git_code,danimo/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,farseerri/git_code,kuba1/qtcreator,colede/qtcreator,KDAB/KDAB-Creator,azat/qtcreator,omniacreator/qtcreator,richardmg/qtcreator,jonnor/qt-creator,kuba1/qtcreator,hdweiss/qt-creator-visualizer,martyone/sailfish-qtcreator,renatofilho/QtCreator,yinyunqiao/qtcreator,danimo/qt-creator,KDE/android-qt-creator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,Distrotech/qtcreator,pcacjr/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,yinyunqiao/qtcreator,farseerri/git_code,maui-packages/qt-creator,malikcjm/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,sandsmark/qtcreator-minimap,colede/qtcreator,enricoros/k-qt-creator-inspector,KDE/android-qt-creator,dmik/qt-creator-os2,AltarBeastiful/qt-creator,pcacjr/qt-creator,azat/qtcreator