mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Fix crash when adding folderview in the panel
BUG: 241285 svn path=/trunk/KDE/kdebase/apps/; revision=1136853
This commit is contained in:
parent
2328e7e775
commit
35596f75c3
1 changed files with 3 additions and 1 deletions
|
@ -883,7 +883,9 @@ void FolderView::updateListViewState()
|
|||
m_listView->setDrawShadows(m_drawShadows);
|
||||
m_listView->setIconSize(iconSize());
|
||||
m_listView->setWordWrap(m_numTextLines > 1);
|
||||
m_iconView->setTextLineCount(m_numTextLines);
|
||||
if ( m_iconView ) {
|
||||
m_iconView->setTextLineCount(m_numTextLines);
|
||||
}
|
||||
}
|
||||
|
||||
void FolderView::updateIconViewState()
|
||||
|
|
Loading…
Reference in a new issue