[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/apps/plasma/applets/folderview
From: Fredrik Höglund <fredrik () kde ! org>
Date: 2010-05-13 19:13:23
Message-ID: 20100513191323.066C5AC8B4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1126343 by fredrik:
Backport r1126342:
Fix a crash in configAccepted() when changing the preview settings
when the applet is on the panel.
M +2 -2 folderview.cpp
--- branches/KDE/4.4/kdebase/apps/plasma/applets/folderview/folderview.cpp #1126342:1126343
@@ -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