Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Akonadi Contacts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
Akonadi Contacts
Commits
5bd2d4d3
Commit
5bd2d4d3
authored
Dec 09, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start to fix 430119
CCBUG: 430119
parent
4203f31c
Pipeline
#43485
passed with stage
in 11 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/contact-editor/editor/addresseditor/addresslocationwidget.cpp
...act-editor/editor/addresseditor/addresslocationwidget.cpp
+7
-0
src/contact-editor/editor/addresseditor/addresslocationwidget.h
...ntact-editor/editor/addresseditor/addresslocationwidget.h
+3
-1
No files found.
src/contact-editor/editor/addresseditor/addresslocationwidget.cpp
View file @
5bd2d4d3
...
...
@@ -148,6 +148,12 @@ AddressLocationWidget::~AddressLocationWidget()
{
}
bool
AddressLocationWidget
::
wasChanged
()
const
{
//TODO
return
false
;
}
void
AddressLocationWidget
::
setReadOnly
(
bool
readOnly
)
{
mPreferredCheckBox
->
setEnabled
(
!
readOnly
);
...
...
@@ -273,6 +279,7 @@ void AddressLocationWidget::reset()
{
Q_EMIT
updateAddressCanceled
();
mCurrentAddress
=
-
1
;
mWasChanged
=
false
;
clear
();
}
...
...
src/contact-editor/editor/addresseditor/addresslocationwidget.h
View file @
5bd2d4d3
...
...
@@ -36,7 +36,7 @@ public:
~
AddressLocationWidget
();
void
setAddress
(
const
KContacts
::
Address
&
address
);
KContacts
::
Address
address
()
const
;
Q_REQUIRED_RESULT
KContacts
::
Address
address
()
const
;
void
slotModifyAddress
(
const
KContacts
::
Address
&
address
,
int
currentIndex
);
...
...
@@ -44,6 +44,7 @@ public:
void
setReadOnly
(
bool
readOnly
);
Q_REQUIRED_RESULT
bool
wasChanged
()
const
;
Q_SIGNALS:
void
addNewAddress
(
const
KContacts
::
Address
&
address
);
void
updateAddress
(
const
KContacts
::
Address
&
address
,
int
index
);
...
...
@@ -71,6 +72,7 @@ private:
SelectAddressTypeComboBox
*
mTypeCombo
=
nullptr
;
int
mCurrentAddress
=
-
1
;
Mode
mCurrentMode
;
bool
mWasChanged
=
false
;
};
}
...
...
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