Commit c07b46bd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename method as I asked on MR but didn't do. + make method working

parent 7f5c1c82
Pipeline #75821 passed with stage
in 4 minutes and 1 second
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
set(PIM_VERSION "5.18.41")
set(PIM_VERSION "5.18.42")
project(KIdentityManagement VERSION ${PIM_VERSION})
......
......@@ -194,7 +194,10 @@ IdentityManager *IdentityCombo::identityManager() const
return d->mIdentityManager;
}
void IdentityCombo::showDefault(bool showDefault)
void IdentityCombo::setShowDefault(bool showDefault)
{
d->showDefault = showDefault;
if (d->showDefault != showDefault) {
d->showDefault = showDefault;
d->reloadCombo();
}
}
......@@ -42,7 +42,7 @@ public:
void setCurrentIdentity(const Identity &identity);
void setCurrentIdentity(uint uoid);
/// Show (default) on the default identity. By default this behavior is disabled.
void showDefault(bool showDefault);
void setShowDefault(bool showDefault);
/**
Returns the IdentityManager used in this combo box.
@since 4.5
......
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