Commit a8b8ff11 authored by Dominik Haumann's avatar Dominik Haumann

fix drawing of buttons in style config dialog

parent be9f8232
......@@ -37,6 +37,7 @@
#include <QDebug>
#include <QEvent>
#include <QKeyEvent>
#include <qdrawutil.h>
//BEGIN KateColorTreeItem
class KateColorTreeItem : public QTreeWidgetItem
......@@ -204,7 +205,7 @@ class KateColorTreeDelegate : public QStyledItemDelegate
opt.rect.adjust(1, 1, -1, -1);
painter->fillRect(opt.rect, color);
//FIXME KF5 qDrawShadePanel(painter, opt.rect, opt.palette, true, 1, NULL);
qDrawShadePanel(painter, opt.rect, opt.palette, true, 1, NULL);
}
//END: draw color button
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment