]> cloud.milkyroute.net Git - dolphin.git/commit
In rare circumstances (a very narrow viewport is a necessary, but not sufficient...
authorSimon Paul St James <kdedevel@etotheipiplusone.com>
Fri, 23 Jan 2009 18:55:08 +0000 (18:55 +0000)
committerSimon Paul St James <kdedevel@etotheipiplusone.com>
Fri, 23 Jan 2009 18:55:08 +0000 (18:55 +0000)
commit5b8a817a7328fddbee654721cdb93b560a81f4c5
tree04c8ec77c25bfe0d136c0e59cdd03093fbb72fcc
parent5b5f0c9d7e5887e39b9dcf080899ca52de4e973f
In rare circumstances (a very narrow viewport is a necessary, but not sufficient, condition)  DolphinDetailsView::resizeColumns() is called with an empty model so that sizeHintForColumn(...) returns -1 and so the name column ultimately has width -1.  Detect and prevent this.

svn path=/trunk/KDE/kdebase/apps/; revision=915781
src/dolphindetailsview.cpp