]> cloud.milkyroute.net Git - dolphin.git/commitdiff
msvc compile++
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>
Sun, 23 Sep 2007 19:46:07 +0000 (19:46 +0000)
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>
Sun, 23 Sep 2007 19:46:07 +0000 (19:46 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=716039

src/dolphincolumnview.cpp

index bde64371ac3f6b2f79e4410b458be4b86af32e5a..154adeacae0cf2d8e03fca34bfb3b489575a99ed 100644 (file)
@@ -460,8 +460,8 @@ void DolphinColumnView::setModel(QAbstractItemModel* model)
         m_dolphinModel->disconnect(this);
     }
 
-    m_proxyModel = static_cast<const QAbstractProxyModel*>(model);
-    m_dolphinModel = static_cast<const DolphinModel*>(m_proxyModel->sourceModel());
+    m_proxyModel = static_cast<QAbstractProxyModel*>(model);
+    m_dolphinModel = static_cast<DolphinModel*>(m_proxyModel->sourceModel());
     connect(m_dolphinModel, SIGNAL(expand(const QModelIndex&)),
             this, SLOT(triggerReloadColumns(const QModelIndex&)));