[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/plasma/applets/folderview
From: Fredrik Höglund <fredrik () kde ! org>
Date: 2010-05-13 19:12:40
Message-ID: 20100513191240.1AA27AC8B4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1126342 by fredrik:
Fix a crash in configAccepted() when changing the preview settings
when the applet is on the panel.
Fixed in: 4.4.4
BUG: 233794
M +2 -2 folderview.cpp
--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.cpp #1126341:1126342
@@ -623,7 +623,7 @@
//save and restore the icons positions
QStringList iconPositionsData;
- if (!m_showPreviews) {
+ if (!m_showPreviews && m_iconView) {
//Save the icon positions
iconPositionsData = m_iconView->iconPositionsData();
}
@@ -631,7 +631,7 @@
//Enable/disable the previews
m_previewGenerator->setPreviewShown(m_showPreviews);
- if (!m_showPreviews) {
+ if (!m_showPreviews && m_iconView) {
//Restore the icon positions
m_iconView->setIconPositionsData(iconPositionsData);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic