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
942c0f5c
Commit
942c0f5c
authored
Apr 25, 2017
by
Laurent Montel
😁
Browse files
Minor fix
parent
9e41bf8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/editor/addresseditor/addresseslocationwidget.cpp
View file @
942c0f5c
...
...
@@ -30,8 +30,8 @@ AddressesLocationWidget::AddressesLocationWidget(QWidget *parent)
{
setChildrenCollapsible
(
false
);
mAddressLocationWidget
=
new
AddressLocationWidget
(
this
);
addWidget
(
mAddressLocationWidget
);
mAddressLocationWidget
->
setObjectName
(
QStringLiteral
(
"addresslocationwidget"
));
addWidget
(
mAddressLocationWidget
);
mAddressesLocationViewer
=
new
AddressesLocationEngineViewer
(
this
);
mAddressesLocationViewer
->
setObjectName
(
QStringLiteral
(
"addresseslocationviewer"
));
addWidget
(
mAddressesLocationViewer
);
...
...
src/editor/addresseditor/selectaddresstypecombobox.cpp
View file @
942c0f5c
...
...
@@ -49,9 +49,9 @@ SelectAddressTypeComboBox::~SelectAddressTypeComboBox()
void
SelectAddressTypeComboBox
::
setType
(
KContacts
::
Address
::
Type
type
)
{
if
(
!
mTypeList
.
contains
(
(
int
)
type
))
{
if
(
!
mTypeList
.
contains
(
static_cast
<
int
>
(
type
))
)
{
// insert at the end, but before the 'Others...' entry
mTypeList
.
insert
(
mTypeList
.
at
(
mTypeList
.
count
()
-
1
),
(
int
)
type
);
mTypeList
.
insert
(
mTypeList
.
at
(
mTypeList
.
count
()
-
1
),
static_cast
<
int
>
(
type
)
)
;
}
mType
=
type
;
...
...
Write
Preview
Markdown
is supported
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