mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Fix palette problem as workaround. This is needed if the categorization is enabled
svn path=/trunk/KDE/kdebase/apps/; revision=745630
This commit is contained in:
parent
1ec3860a26
commit
848b3eb621
|
@ -695,6 +695,9 @@ void KCategorizedView::paintEvent(QPaintEvent *event)
|
|||
}
|
||||
|
||||
QStyleOptionViewItemV3 option = viewOptions();
|
||||
option.palette = palette(); // viewOptions() doesn't seem to return the correct palette
|
||||
// if the app was already running and the color scheme was changed
|
||||
// (ereslibre)
|
||||
option.widget = this;
|
||||
if (wordWrap())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue