TextEditor: Move setting up of encoding label to ctor
TextEditor: Move setting up of encoding label to ctor

Task-number: QTCREATORBUG-9794
Change-Id: Ia01e71b67ed31f21234ee26c508149173d16c503
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@digia.com>
Reviewed-by: hjk <f81b91af79013637d070c18d38a75b90eaae8ba3@nokiamail.com>

amyvmiwei/qt-creator,Distrotech/qtcreator,farseerri/git_code,farseerri/git_code,farseerri/git_code,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,kuba1/qtcreator,danimo/qt-creator,Distrotech/qtcreator,danimo/qt-creator,danimo/qt-creator,Distrotech/qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,kuba1/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,farseerri/git_code,xianian/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,Distrotech/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator