Compile with clang
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Tue, 31 Jan 2012 20:06:18 +0000 (21:06 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Feb 2012 01:16:19 +0000 (02:16 +0100)
Add back friend declaration removed in e8105e4.
QListViewPrivate uses QAbstractItemView::
DropIndicatorPosition, which is protected.

Change-Id: Ie9fa9422bf4fb7846637dac24a644d4814cfe622
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
src/widgets/itemviews/qabstractitemview.h

index d1b8a5d..5bdd17e 100644 (file)
@@ -367,6 +367,7 @@ private:
 
     friend class QTreeViewPrivate; // needed to compile with MSVC
     friend class QListModeViewBase;
+    friend class QListViewPrivate;
 };
 
 Q_DECLARE_OPERATORS_FOR_FLAGS(QAbstractItemView::EditTriggers)