TextEditor: Remove redundant null validation
TextEditor: Remove redundant null validation

Change-Id: I286b324003554bce3607e685088d4d8406bc6892
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

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