┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphiniconsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-01-09 12:28:43 +0000
committerPeter Penz <[email protected]>2011-01-09 12:28:43 +0000
commit58ea012256a752fb803a462c0ff025a4de4b5dbf (patch)
tree544ad0252654aa81e61ae414692750d4f4e74a08 /src/views/dolphiniconsview.cpp
parentb3acdc75c4b8aa4519586ebf7652c2fb51e9b801 (diff)
Internal simplification: It is not necessary to keep the ViewModeController as member for the view-modes, as the URL is alredy known by the DolphinViewController.
svn path=/trunk/KDE/kdebase/apps/; revision=1213172
Diffstat (limited to 'src/views/dolphiniconsview.cpp')
-rw-r--r--src/views/dolphiniconsview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/views/dolphiniconsview.cpp b/src/views/dolphiniconsview.cpp
index 4abcad3db..f04769762 100644
--- a/src/views/dolphiniconsview.cpp
+++ b/src/views/dolphiniconsview.cpp
@@ -45,7 +45,6 @@ DolphinIconsView::DolphinIconsView(QWidget* parent,
DolphinSortFilterProxyModel* proxyModel) :
KCategorizedView(parent),
m_dolphinViewController(dolphinViewController),
- m_viewModeController(viewModeController),
m_categoryDrawer(new DolphinCategoryDrawer(this)),
m_extensionsFactory(0),
m_font(),
@@ -224,7 +223,7 @@ void DolphinIconsView::dropEvent(QDropEvent* event)
{
const QModelIndex index = indexAt(event->pos());
const KFileItem item = m_dolphinViewController->itemForIndex(index);
- m_dolphinViewController->indicateDroppedUrls(item, m_viewModeController->url(), event);
+ m_dolphinViewController->indicateDroppedUrls(item, event);
// don't call KCategorizedView::dropEvent(event), as it moves
// the items which is not wanted
}