diff options
| author | Peter Penz <[email protected]> | 2010-10-08 17:27:10 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-10-08 17:27:10 +0000 |
| commit | fff40080bcc4719526cde17f826810d1b193ad52 (patch) | |
| tree | 76c968b9ffea21961bd88c96eb6c0c482e4bfc86 /src/views/dolphincolumnviewcontainer.cpp | |
| parent | 6c8c052b3ffa628fd99f4e4d726017e2fc8e0e1d (diff) | |
Fix issue in column-view, that the icon size has been increased when several columns are open and a switch to the icon-view is done.
svn path=/trunk/KDE/kdebase/apps/; revision=1183919
Diffstat (limited to 'src/views/dolphincolumnviewcontainer.cpp')
| -rw-r--r-- | src/views/dolphincolumnviewcontainer.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/views/dolphincolumnviewcontainer.cpp b/src/views/dolphincolumnviewcontainer.cpp index 2054f5984..461768bea 100644 --- a/src/views/dolphincolumnviewcontainer.cpp +++ b/src/views/dolphincolumnviewcontainer.cpp @@ -403,16 +403,11 @@ void DolphinColumnViewContainer::deleteColumn(DolphinColumnView* column) m_dragSource->deleteLater(); m_dragSource = 0; } - column->hide(); - column->setParent(0); - column->disconnect(); - m_dragSource = column; } else { - column->deleteLater(); + delete column; + column = 0; } - - layoutColumns(); } #include "dolphincolumnviewcontainer.moc" |
