┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-12-06 11:57:16 +0000
committerRafael Fernández López <[email protected]>2007-12-06 11:57:16 +0000
commitf0f5cfdbfda7f7b2897e61148f54eeed1bcf6be8 (patch)
tree87b66dc6ffb1501d80a00ae0a56e76adee6530b9 /src
parent70e938b23ef3238bc69ad01ac85cd9262229ea82 (diff)
Fix the problem of the palette not being updated... this is a workaround. It should have been done automatically
svn path=/trunk/KDE/kdebase/apps/; revision=745558
Diffstat (limited to 'src')
-rw-r--r--src/kcategorizedview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp
index 7018b33bc..3569e113a 100644
--- a/src/kcategorizedview.cpp
+++ b/src/kcategorizedview.cpp
@@ -24,12 +24,12 @@
#include <math.h> // trunc on C99 compliant systems
#include <kdefakes.h> // trunc for not C99 compliant systems
-#include <QApplication>
#include <QPainter>
#include <QScrollBar>
#include <QPaintEvent>
#include <kstyle.h>
+#include <kapplication.h>
#include "kcategorydrawer.h"
#include "kcategorizedsortfilterproxymodel.h"
@@ -696,6 +696,7 @@ void KCategorizedView::paintEvent(QPaintEvent *event)
}
QStyleOptionViewItemV3 option = viewOptions();
+ option.palette = KApplication::palette();
option.widget = this;
if (wordWrap())
{