Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
be6d3105
Commit
be6d3105
authored
Apr 16, 2021
by
Laurent Montel
Browse files
Const'ify pointer
parent
3825521d
Pipeline
#58219
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/identity/identityeditvcarddialog.cpp
View file @
be6d3105
...
...
@@ -20,11 +20,11 @@
IdentityEditVcardDialog
::
IdentityEditVcardDialog
(
const
QString
&
fileName
,
QWidget
*
parent
)
:
QDialog
(
parent
)
,
mContactEditor
(
new
Akonadi
::
AkonadiContactEditor
(
Akonadi
::
AkonadiContactEditor
::
CreateMode
,
Akonadi
::
AkonadiContactEditor
::
VCardMode
,
this
))
{
auto
topLayout
=
new
QVBoxLayout
(
this
);
setModal
(
true
);
mContactEditor
=
new
Akonadi
::
AkonadiContactEditor
(
Akonadi
::
AkonadiContactEditor
::
CreateMode
,
Akonadi
::
AkonadiContactEditor
::
VCardMode
,
this
);
auto
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
this
);
QPushButton
*
okButton
=
buttonBox
->
button
(
QDialogButtonBox
::
Ok
);
...
...
src/identity/identityeditvcarddialog.h
View file @
be6d3105
...
...
@@ -38,6 +38,6 @@ private:
void
slotDeleteCurrentVCard
();
void
deleteCurrentVcard
(
bool
deleteOnDisk
);
QString
mVcardFileName
;
Akonadi
::
AkonadiContactEditor
*
mContactEditor
=
nullptr
;
Akonadi
::
AkonadiContactEditor
*
const
mContactEditor
;
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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