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

List:       kde-commits
Subject:    kdesdk/kapptemplate/kpartapp
From:       Dominique Devriese <devriese () kde ! org>
Date:       2003-06-20 22:11:07
[Download RAW message or body]

CVS commit by domi: 

Fix the shortcut editing to allow editing of the actions of the part
too..  Approved by Kurt.


  M +5 -2      app.cpp   1.13


--- kdesdk/kapptemplate/kpartapp/app.cpp  #1.12:1.13
@@ -125,5 +125,8 @@ void ${APP_NAME}::fileNew()
 void ${APP_NAME}::optionsConfigureKeys()
 {
-    KKeyDialog::configureKeys(actionCollection(), "${APP_NAME_LC}_shell.rc");
+  KKeyDialog dlg( true,  this );
+  dlg.insert( actionCollection(), "${APP_NAME_LC}_shell.rc" );
+  dlg.insert( m_part->actionCollection(), "${APP_NAME_LC}_part.rc" );
+  (void) dlg.configure( true );
 }
 


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

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