From ea783ff51f25af89b7219154d7be5de1fd138664 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Tue, 31 Jan 2012 21:06:18 +0100 Subject: Compile with clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add back friend declaration removed in e8105e4. QListViewPrivate uses QAbstractItemView:: DropIndicatorPosition, which is protected. Change-Id: Ie9fa9422bf4fb7846637dac24a644d4814cfe622 Reviewed-by: Jonas Gastal Reviewed-by: Tor Arne Vestbø --- src/widgets/itemviews/qabstractitemview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/itemviews/qabstractitemview.h') diff --git a/src/widgets/itemviews/qabstractitemview.h b/src/widgets/itemviews/qabstractitemview.h index d1b8a5deb0..5bdd17e3ad 100644 --- a/src/widgets/itemviews/qabstractitemview.h +++ b/src/widgets/itemviews/qabstractitemview.h @@ -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) -- cgit v1.2.3