From d7c4fdedd0dcca4465eaf68a1904cde46c33a74c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 10 Oct 2011 23:26:08 +0200 Subject: Remove workaround to draw the focus indicator manually In Oxygen the focus-indicator has only been drawn for widget instances derived from QAbstractItemView and Q3ListView, so it was not possible in Dolphin to use the style for drawing. This has been fixed now in Oxygen, so using the style works now. The custom code for drawing the text background will be removed and replaced by a style-code later. CCMAIL: hugo@oxygen-icons.org --- src/kitemviews/kitemlistwidget.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kitemviews/kitemlistwidget.h') diff --git a/src/kitemviews/kitemlistwidget.h b/src/kitemviews/kitemlistwidget.h index b1df7bff4..eae4c39da 100644 --- a/src/kitemviews/kitemlistwidget.h +++ b/src/kitemviews/kitemlistwidget.h @@ -132,7 +132,6 @@ protected: private: void setHoverOpacity(qreal opacity); void clearHoverCache(); - void drawFocusIndicator(QPainter* painter); void drawTextBackground(QPainter* painter); private: -- cgit v1.3.1