Commit 3e45fe99 authored by Dirk Mueller's avatar Dirk Mueller

some s,KAction,QAction, in the hope that it helps

svn path=/trunk/KDE/kdemultimedia/juk/; revision=610738
parent 7b1ab86c
...@@ -28,10 +28,10 @@ namespace ActionCollection ...@@ -28,10 +28,10 @@ namespace ActionCollection
return a; return a;
} }
KAction *action(const QString &key) QAction *action(const QString &key)
{ {
#ifndef NO_DEBUG #ifndef NO_DEBUG
KAction *a = actions()->action(key); QAction *a = actions()->action(key);
if(!a) if(!a)
kWarning(65432) << "KAction \"" << key << "\" is not defined yet." << endl; kWarning(65432) << "KAction \"" << key << "\" is not defined yet." << endl;
return a; return a;
......
...@@ -31,7 +31,7 @@ namespace ActionCollection ...@@ -31,7 +31,7 @@ namespace ActionCollection
* Returns the action for the associated key from the global action * Returns the action for the associated key from the global action
* collection. * collection.
*/ */
KAction *action(const QString &key); QAction *action(const QString &key);
/** /**
* Returns the action for the associated key but includes a cast to the * Returns the action for the associated key but includes a cast to the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment