X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/0da54e5c1beb880efbc580f2202108ea46d52a1c..747a86573feb65e2ffe57cdae7dedf6ad272e789:/src/tests/dolphindetailsviewtest.cpp diff --git a/src/tests/dolphindetailsviewtest.cpp b/src/tests/dolphindetailsviewtest.cpp index 36cdb3333..49fbb629f 100644 --- a/src/tests/dolphindetailsviewtest.cpp +++ b/src/tests/dolphindetailsviewtest.cpp @@ -60,8 +60,8 @@ private slots: private: QModelIndex proxyModelIndexForUrl(const KUrl& url) const { - const QModelIndex index = m_dolphinModel->indexForUrl(url); - return m_proxyModel->mapFromSource(index); + const QModelIndex index = m_view->m_viewAccessor.m_dolphinModel->indexForUrl(url); + return m_view->m_viewAccessor.m_proxyModel->mapFromSource(index); } DolphinDetailsView* m_detailsView;