[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kjots
From: Stephen Kelly <steveire () gmail ! com>
Date: 2010-06-16 11:46:13
Message-ID: 20100616114613.F2834AC8D4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1138633 by skelly:
Don't allow deleting of top-level resource collections.
Can make this a resource removal in the next release (after string thaw).
M +3 -0 kjotswidget.cpp
--- trunk/KDE/kdepim/kjots/kjotswidget.cpp #1138632:1138633
@@ -699,6 +699,9 @@
if ( !col.isValid() )
return;
+ if (col.parentCollection() == Collection::root())
+ return;
+
(void) new Akonadi::CollectionDeleteJob( col, this );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic