using dfaure's check instead isRoot()
using dfaure's check instead isRoot()

but I don't understand why isRoot() should not work here... :(

svn path=/trunk/KDE/kdelibs/kate/; revision=735514

hlamer/kate,hlamer/kate,cmacq2/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,sandsmark/kate,sandsmark/kate,hlamer/kate,cmacq2/kate,sandsmark/kate,hlamer/kate,DickJ/kate,DickJ/kate,DickJ/kate,jfmcarreira/kate,DickJ/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,cmacq2/kate,hlamer/kate,hlamer/kate,hlamer/kate