summaryrefslogtreecommitdiffstats
path: root/src/qgraphicslistview.h
diff options
context:
space:
mode:
authorMarius Bugge Monsen <mmonsen@trolltech.com>2009-06-18 16:09:23 +0200
committerMarius Bugge Monsen <mmonsen@trolltech.com>2009-06-18 16:09:23 +0200
commit229a327898b34ec1ed7abb7c430b7b9f539f13ca (patch)
treead89f62a2006f87bb6fe846f61417c0ad0b46b15 /src/qgraphicslistview.h
parent602937ee29a58ffcf581d93e64549e4beb747834 (diff)
Make sure the active state in the style option is set if the view window is active.
Diffstat (limited to 'src/qgraphicslistview.h')
-rw-r--r--src/qgraphicslistview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qgraphicslistview.h b/src/qgraphicslistview.h
index 8de6ae9..2dc2f27 100644
--- a/src/qgraphicslistview.h
+++ b/src/qgraphicslistview.h
@@ -143,7 +143,6 @@ Q_SIGNALS:
void offsetChanged(qreal offset);
protected:
- friend class QtPrinterListView; // ### FIXME: should not be needed
QtGraphicsListView(QtGraphicsListViewPrivate &, Qt::Orientation orientation, QGraphicsWidget *parent, Qt::WindowFlags wFlags = 0);
// ### making them virtual allows the user to hook up to any signals they need
@@ -156,6 +155,7 @@ protected:
QtGraphicsListViewPrivate *d_ptr;
private:
+ friend class QtPrinterListView;
friend class QtListController;
friend class QtGraphicsListViewItem;
Q_DECLARE_PRIVATE(QtGraphicsListView)