]> cloud.milkyroute.net Git - dolphin.git/commit
Fixed wrong usage of QStyleOptionViewItem: caching of the file item in the constructo...
authorPeter Penz <peter.penz19@gmail.com>
Thu, 6 Dec 2007 21:06:45 +0000 (21:06 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 6 Dec 2007 21:06:45 +0000 (21:06 +0000)
commite65154552769e648bcbe14429123ff9fcd48bd29
tree83d9a825642bf72dc4e2bc2b13a94c6331a19ec3
parent4939ae662fad860d8355a799f2d7121fe538ee92
Fixed wrong usage of QStyleOptionViewItem: caching of the file item in the constructor is too early (thanks to Fredrik for the hint!). This fixes 2 issues:

* the selection color of the details view now uses the correct selection color
* changing the colors of KDE results in updating the colors of all Dolphin views

CCMAIL: hein@kde.org
CCMAIL: ereslibre@kde.org
CCMAIL: mw_triad@users.sourceforge.net

svn path=/trunk/KDE/kdebase/apps/; revision=745700
src/dolphincolumnwidget.cpp
src/dolphincolumnwidget.h
src/dolphindetailsview.cpp
src/dolphindetailsview.h
src/dolphiniconsview.cpp
src/dolphiniconsview.h