Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KIdentityManagement
Commits
c07b46bd
Commit
c07b46bd
authored
Aug 20, 2021
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c07b46bd
cmake_minimum_required
(
VERSION 3.16 FATAL_ERROR
)
set
(
PIM_VERSION
"5.18.4
1
"
)
set
(
PIM_VERSION
"5.18.4
2
"
)
project
(
KIdentityManagement VERSION
${
PIM_VERSION
}
)
...
...
src/identitycombo.cpp
View file @
c07b46bd
...
...
@@ -194,7 +194,10 @@ IdentityManager *IdentityCombo::identityManager() const
return
d
->
mIdentityManager
;
}
void
IdentityCombo
::
showDefault
(
bool
showDefault
)
void
IdentityCombo
::
s
etS
howDefault
(
bool
showDefault
)
{
d
->
showDefault
=
showDefault
;
if
(
d
->
showDefault
!=
showDefault
)
{
d
->
showDefault
=
showDefault
;
d
->
reloadCombo
();
}
}
src/identitycombo.h
View file @
c07b46bd
...
...
@@ -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
s
etS
howDefault
(
bool
showDefault
);
/**
Returns the IdentityManager used in this combo box.
@since 4.5
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment