From: Morten Johan Sorvig Date: Tue, 31 Jan 2012 20:06:18 +0000 (+0100) Subject: Compile with clang X-Git-Tag: qt-v5.0.0-alpha1~1420 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea783ff51f25af89b7219154d7be5de1fd138664;p=profile%2Fivi%2Fqtbase.git Compile with clang 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ø --- diff --git a/src/widgets/itemviews/qabstractitemview.h b/src/widgets/itemviews/qabstractitemview.h index d1b8a5d..5bdd17e 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)