From: Peter Penz Date: Thu, 13 Nov 2008 20:23:45 +0000 (+0000) Subject: fixed issue that the preview size might get applied to the previous view when switchi... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4e8e54e6dbfe507b6513b10f383d8aab42460a64 fixed issue that the preview size might get applied to the previous view when switching to a new view svn path=/trunk/KDE/kdebase/apps/; revision=883912 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 8da926936..5ef00d60a 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -1292,6 +1292,10 @@ void DolphinView::deleteView() m_topLayout->removeWidget(view); view->close(); + disconnect(view); + m_controller->disconnect(view); + view->disconnect(); + bool deleteView = true; foreach (const QAbstractItemView* expandedView, m_expandedViews) { if (view == expandedView) {