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
Akonadi Contacts
Commits
280e389c
Commit
280e389c
authored
Oct 21, 2021
by
Laurent Montel
😁
Browse files
const'ify variables
parent
28b4dca4
Pipeline
#90202
passed with stage
in 11 minutes and 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/akonadi-contacts/contactviewer.cpp
View file @
280e389c
...
...
@@ -40,13 +40,13 @@ class Akonadi::ContactViewerPrivate
public:
explicit
ContactViewerPrivate
(
ContactViewer
*
parent
)
:
mParent
(
parent
)
,
mQRCode
(
Prison
::
createBarcode
(
Prison
::
QRCode
))
{
mStandardContactFormatter
=
new
StandardContactFormatter
;
mContactFormatter
=
mStandardContactFormatter
;
KConfig
config
(
QStringLiteral
(
"akonadi_contactrc"
));
KConfigGroup
group
(
&
config
,
QStringLiteral
(
"View"
));
mShowQRCode
=
group
.
readEntry
(
"QRCodes"
,
true
);
mQRCode
=
Prison
::
createBarcode
(
Prison
::
QRCode
);
}
~
ContactViewerPrivate
()
...
...
@@ -213,7 +213,7 @@ public:
AbstractContactFormatter
*
mContactFormatter
=
nullptr
;
AbstractContactFormatter
*
mStandardContactFormatter
=
nullptr
;
CollectionFetchJob
*
mParentCollectionFetchJob
=
nullptr
;
Prison
::
AbstractBarcode
*
mQRCode
=
nullptr
;
Prison
::
AbstractBarcode
*
const
mQRCode
;
bool
mShowQRCode
=
true
;
};
...
...
src/contact-editor/editor/customfieldeditor/customfieldslistdelegate.h
View file @
280e389c
...
...
@@ -32,7 +32,7 @@ private:
void
setFirstColumnAsCurrent
();
void
removeField
(
int
row
,
QAbstractItemModel
*
model
);
const
QIcon
mIcon
;
QSize
mButtonSize
;
const
QSize
mButtonSize
;
QAbstractItemView
*
const
mItemView
;
};
}
src/contact-editor/editor/generalinfoeditor/phone/phonetypedialog.h
View file @
280e389c
...
...
@@ -35,7 +35,7 @@ public:
KContacts
::
PhoneNumber
::
Type
type
()
const
;
private:
KContacts
::
PhoneNumber
::
Type
mType
;
const
KContacts
::
PhoneNumber
::
Type
mType
;
KContacts
::
PhoneNumber
::
TypeList
mTypeList
;
QButtonGroup
*
mGroup
=
nullptr
;
...
...
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