[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-31 21:12:10
Message-ID: 20100531211210.A4F80AC8C6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1132999 by fredrik:
Really fix the crash when changing preview settings and the applet
is on the panel.
FIXED-IN: 4.4.5
BUG: 239995
M +2 -2 folderview.cpp
--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.cpp #1132998:1132999
@@ -769,13 +769,13 @@
if (needReload) {
//Manually save and restore the icon positions if we need it
QStringList iconPositionsData;
- if (preserveIconPositions) {
+ if (preserveIconPositions && m_iconView) {
iconPositionsData = m_iconView->iconPositionsData();
}
m_dirModel->dirLister()->openUrl(m_url);
- if (preserveIconPositions) {
+ if (preserveIconPositions && m_iconView) {
m_iconView->setIconPositionsData(iconPositionsData);
}
// So the KFileItemActions will be recreated for the new URL.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic