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:
Ivailo Monev 2022-09-30 01:25:48 +03:00
parent c78363de67
commit ab8812764a
2 changed files with 2 additions and 2 deletions

View file

@ -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)) {

View file

@ -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;