mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +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
1 changed files with 3 additions and 0 deletions
|
@ -695,6 +695,9 @@ void KCategorizedView::paintEvent(QPaintEvent *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
QStyleOptionViewItemV3 option = viewOptions();
|
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;
|
option.widget = this;
|
||||||
if (wordWrap())
|
if (wordWrap())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue