From 188754a3e5b298683b88fbe6786c524c172ed6a9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 21 Feb 2008 12:49:11 +0000 Subject: Let the DolphinController be aware on which QAbstractItemView instance he is working. This allows to connect signals from the view implementations (icons view, details view, column view) directly to the slots of the DolphinController without a helper slot. svn path=/trunk/KDE/kdebase/apps/; revision=777737 --- src/dolphinview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 5ce9cb6e1..6f351e63b 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -897,6 +897,7 @@ void DolphinView::createView() } Q_ASSERT(view != 0); + m_controller->setItemView(view); m_fileItemDelegate = new KFileItemDelegate(view); view->setItemDelegate(m_fileItemDelegate); -- cgit v1.3