mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: move the default value for KGlobalAccelPrivate::getComponent() argument to the method declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c78363de67
commit
ab8812764a
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
#include "kmessagebox.h"
|
||||
#include "kshortcut.h"
|
||||
|
||||
org::kde::kglobalaccel::Component *KGlobalAccelPrivate::getComponent(const QString &componentUnique, bool remember = false)
|
||||
org::kde::kglobalaccel::Component *KGlobalAccelPrivate::getComponent(const QString &componentUnique, bool remember)
|
||||
{
|
||||
// Check if we already have this component
|
||||
if (components.contains(componentUnique)) {
|
||||
|
|
|
@ -82,7 +82,7 @@ public:
|
|||
|
||||
//! Get the component @p componentUnique. If @p remember is true the instance is cached and we
|
||||
//! subscribe to signals about changes to the component.
|
||||
org::kde::kglobalaccel::Component *getComponent(const QString &componentUnique, bool remember);
|
||||
org::kde::kglobalaccel::Component *getComponent(const QString &componentUnique, bool remember = false);
|
||||
|
||||
//! Our owner
|
||||
KGlobalAccel *q;
|
||||
|
|
Loading…
Add table
Reference in a new issue