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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/actions
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2009-02-16 0:21:48
Message-ID: 1234743708.639591.22116.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 926713 by mjansen:

Remove the name to get rid of the "rename action" warning

 M  +2 -0      kactioncollection.cpp  


--- trunk/KDE/kdelibs/kdeui/actions/kactioncollection.cpp #926712:926713
@@ -351,6 +351,8 @@
   KAction *action = KStandardAction::create(actionType, receiver, member, 0);
   // Give it a parent for gc.
   action->setParent(this);
+  // Remove the name to get rid of the "rename action" warning above
+  action->setObjectName(name);
   // And now add it with the desired name.
   return addAction(name, action);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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