[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/filelight/src/part/radialMap
From: Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date: 2010-05-26 17:58:34
Message-ID: 20100526175834.35ED9AC8C3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1130893 by sandsmark:
check that we have something focused before using it
M +1 -1 labels.cpp
--- trunk/playground/utils/filelight/src/part/radialMap/labels.cpp #1130892:1130893
@@ -85,7 +85,7 @@
if (m_focus && m_focus->file() != m_tree) //separate behavior for selected vs unselected segments
{
//don't bother with files
- if (m_focus->file() && !m_focus->file()->isFolder())
+ if (m_focus && m_focus->file() && !m_focus->file()->isFolder())
return;
//find the range of levels we will be potentially drawing labels for
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic