]> cloud.milkyroute.net Git - dolphin.git/commitdiff
fixed issue that the text width gets very small when turning on previews in the colum...
authorPeter Penz <peter.penz19@gmail.com>
Sun, 30 Nov 2008 17:13:16 +0000 (17:13 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 30 Nov 2008 17:13:16 +0000 (17:13 +0000)
BUG: 174801

svn path=/trunk/KDE/kdebase/apps/; revision=890925

src/dolphiniconsview.cpp

index 52be40b0230ceaa76ef8504b61213013200e7573..6a54bd5c39da9bb59befbf57efa21e2a9e608351 100644 (file)
@@ -152,7 +152,7 @@ void DolphinIconsView::dataChanged(const QModelIndex& topLeft, const QModelIndex
     KCategorizedView::dataChanged(topLeft, bottomRight);
 
     KCategorizedSortFilterProxyModel* proxyModel = dynamic_cast<KCategorizedSortFilterProxyModel*>(model());
-    if ((flow() == QListView::LeftToRight) && !proxyModel->isCategorizedModel()) {
+    if (!proxyModel->isCategorizedModel()) {
         // bypass a QListView issue that items are not layout correctly if the decoration size of
         // an index changes
         scheduleDelayedItemsLayout();