C++: Fix compilation with C++<11
C++: Fix compilation with C++<11

and MSVC that disallows override on dtor

Change-Id: I8a8897fe1318dee0c6d9b4d5d9d515e4631f9318
Reviewed-by: Nikolai Kosjar <9571db158ca61a0d070db010803474231fa0cbab@digia.com>

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