mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: log KAction warning to the correct debug area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3ce3fcf34b
commit
a324de58dc
2 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
|||
260 kdeui (KXmlGui)
|
||||
264 kdeui (KIconLoader)
|
||||
265 kdeui (KIconEffect)
|
||||
283 kdeui (K*Gesture*)
|
||||
299 kdeui (KNotification)
|
||||
300 kdeui (KConfigDialogManager)
|
||||
700 kutils (KSettings::Dialog)
|
||||
|
|
|
@ -186,7 +186,7 @@ void KAction::setGlobalShortcut(const KShortcut &shortcut, ShortcutTypes type,
|
|||
if (!d->globalShortcutEnabled) {
|
||||
changed = true;
|
||||
if (objectName().isEmpty() || objectName().startsWith(QLatin1String("unnamed-"))) {
|
||||
kWarning(283) << "Attempt to set global shortcut for action without objectName()."
|
||||
kWarning(129) << "Attempt to set global shortcut for action without objectName()."
|
||||
" Read the setGlobalShortcut() documentation.";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue