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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-12-09 20:38:56
[Download RAW message or body]

CVS commit by waba: 

KIOSK fix


  M +4 -0      kaction.cpp   1.302


--- kdelibs/kdeui/kaction.cpp  #1.301:1.302
@@ -484,4 +484,8 @@ bool KAction::setShortcut( const KShortc
 bool KAction::updateKAccelShortcut( KAccel* kaccel )
 {
+  // Check if action is permitted
+  if (kapp && !kapp->authorizeKAction(name()))
+    return false;
+
   bool b = true;
 


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

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