[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim] calendarsupport: Keep the calendar selection tree expanded.
From:       Till Adam <adam () kde ! org>
Date:       2012-08-26 19:12:41
Message-ID: 20120826191241.0A415A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit a7a0125d28cf17fd7e1e704ec22c8a5afd6b5c5d by Till Adam.
Committed on 26/08/2012 at 15:08.
Pushed by tilladam into branch 'master'.

Keep the calendar selection tree expanded.

Requires up-to-date kdepimlibs.

M  +1    -0    calendarsupport/utils.cpp

http://commits.kde.org/kdepim/a7a0125d28cf17fd7e1e704ec22c8a5afd6b5c5d

diff --git a/calendarsupport/utils.cpp b/calendarsupport/utils.cpp
index d901b43..1bc1b92 100644
--- a/calendarsupport/utils.cpp
+++ b/calendarsupport/utils.cpp
@@ -399,6 +399,7 @@ Akonadi::Collection CalendarSupport::selectCollection( =
QWidget *parent,
   dlg->setParent( parent );
   dlg->setCaption( i18n( "Select Calendar" ) );
   dlg->setDescription( i18n( "Select the calendar where this item will be =
stored." ) );
+  dlg->changeCollectionDialogOptions( Akonadi::CollectionDialog::KeepTreeE=
xpanded );
   kDebug() << "selecting collections with mimeType in " << mimeTypes;
 =

   dlg->setMimeTypeFilter( mimeTypes );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic