[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdepim/akregator/src
From: Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date: 2009-03-04 21:25:32
Message-ID: 1236201932.156367.6736.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 935353 by osterfeld:
don't crash when dragging folders to the end of the feed list
BUG:174821
M +3 -0 subscriptionlistmodel.cpp
--- branches/KDE/4.2/kdepim/akregator/src/subscriptionlistmodel.cpp #935352:935353
@@ -447,6 +447,9 @@
{
const TreeNode* const droppedOnNode = qobject_cast<const TreeNode*>( \
nodeForIndex( parent, m_feedList ) );
+ if ( !droppedOnNode )
+ return false;
+
const Folder* const destFolder = droppedOnNode->isGroup() ? \
qobject_cast<const Folder*>( droppedOnNode ) : droppedOnNode->parent(); if ( \
!destFolder ) return false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic