[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-31 21:12:52
Message-ID: 20100531211252.5ADDFAC8C6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1133000 by fredrik:
Backport r1132999:
Really fix the crash when changing preview settings and the applet
is on the panel.
M +2 -2 folderview.cpp
--- branches/KDE/4.4/kdebase/apps/plasma/applets/folderview/folderview.cpp #1132999:1133000
@@ -746,13 +746,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