diff options
| author | Peter Penz <[email protected]> | 2010-09-04 17:01:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-09-04 17:01:24 +0000 |
| commit | 0e4202843d6a75fe6c0989ba5f412fdd0bbc6809 (patch) | |
| tree | 8805bbc53d17631f79235f16e6b317576d71a295 /src/views | |
| parent | f9554d6457b1439fb0a139a86aa91a94d525e653 (diff) | |
The row-count cannot be 0 at this part of the code.
svn path=/trunk/KDE/kdebase/apps/; revision=1171602
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphindetailsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphindetailsview.cpp b/src/views/dolphindetailsview.cpp index 243debb1b..585671e4c 100644 --- a/src/views/dolphindetailsview.cpp +++ b/src/views/dolphindetailsview.cpp @@ -754,7 +754,7 @@ void DolphinDetailsView::resizeColumns() if (columnWidth[KDirModel::Name] < minNameWidth) { columnWidth[KDirModel::Name] = minNameWidth; - if ((rowCount > 0) && (rowCount < maxRowCount)) { + if (rowCount < maxRowCount) { // Try to decrease the name column width without clipping any text const int nameWidth = sizeHintForColumn(DolphinModel::Name); if (nameWidth + requiredWidth <= viewport()->width()) { |
