Now with Qt 4.5, there seems to be some bug in Qt that makes the QTreeView show a scrollbar even when the contents fits into the space pixel-perfectly. To workaround it, force the scroll-bar off when we know that the contents fits in.
Now with Qt 4.5, there seems to be some bug in Qt that makes the QTreeView show a scrollbar even when the contents fits into the space pixel-perfectly.
To workaround it, force the scroll-bar off when we know that the contents fits in.

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

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