┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-02-21 12:49:11 +0000
committerPeter Penz <[email protected]>2008-02-21 12:49:11 +0000
commit188754a3e5b298683b88fbe6786c524c172ed6a9 (patch)
treed17b3f04bf2fe17c380862ec3f9b28f090ca9cd2 /src/dolphinview.cpp
parente287058acb772b55b679a694062361d3fb0e8f89 (diff)
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
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp1
1 files changed, 1 insertions, 0 deletions
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);