Design mode: Avoid mimedatabase run on currentfile.
Design mode: Avoid mimedatabase run on currentfile.

Use IFile::mimetype instead to find editors that
use design mode.
Acked-by: Lasse Holmstedt <45a7bd8032346e50d01cc7dacea20049c9207a35@nokia.com>

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