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

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-12-15 17:59:44
Message-ID: 20101215175944.67827AC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1206739 by tokoe:

Reconnect the actions after the menu has been recreated.

This fixes the bug that items and collections could not be
copied/moved anymore via collection menu.


 M  +1 -0      standardactionmanager.cpp  


--- trunk/KDE/kdepimlibs/akonadi/standardactionmanager.cpp #1206738:1206739
@@ -272,6 +272,7 @@
 
         menu->setProperty( "actionType", static_cast<int>( type ) );
         q->connect( menu, SIGNAL( aboutToShow() ), SLOT( aboutToShowMenu() ) );
+        q->connect( menu, SIGNAL( triggered( QAction* ) ), standardActionData[ type ].slot );
         actionMenu->setMenu( menu );
       }
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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