Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
Akonadi Contacts
Commits
3fa9fe9e
Commit
3fa9fe9e
authored
Feb 03, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reactivate code for using AddressTypeDialog
parent
5bc9dba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
akonadi-contact/src/editor/addresseditor/autotests/CMakeLists.txt
...contact/src/editor/addresseditor/autotests/CMakeLists.txt
+2
-2
akonadi-contact/src/editor/addresseditor/selectaddresstypecombobox.cpp
...ct/src/editor/addresseditor/selectaddresstypecombobox.cpp
+2
-2
No files found.
akonadi-contact/src/editor/addresseditor/autotests/CMakeLists.txt
View file @
3fa9fe9e
...
...
@@ -7,14 +7,14 @@ ecm_mark_as_test(addresseslocationviewer)
target_link_libraries
(
addresseslocationviewer Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n Qt5::WebKitWidgets Grantlee5::Templates KF5::IconThemes
)
set
(
addresslocationwidget_SRCS addresslocationwidgettest.cpp ../addresslocationwidget.cpp ../selectaddresstypecombobox.cpp
)
set
(
addresslocationwidget_SRCS addresslocationwidgettest.cpp ../addresslocationwidget.cpp ../selectaddresstypecombobox.cpp
../addresstypedialog.cpp
)
add_executable
(
addresslocationwidget
${
addresslocationwidget_SRCS
}
)
add_test
(
addresslocationwidget addresslocationwidget
)
ecm_mark_as_test
(
addresslocationwidget
)
target_link_libraries
(
addresslocationwidget Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion
)
set
(
addresseslocationwidget_SRCS addresseslocationwidgettest.cpp ../addresseslocationwidget.cpp ../addresseslocationviewer.cpp ../addresseslocationgrantleeformater.cpp
../addressgrantleeobject.cpp ../iconnamecache.cpp ../addresslocationwidget.cpp ../selectaddresstypecombobox.cpp
)
../addressgrantleeobject.cpp ../iconnamecache.cpp ../addresslocationwidget.cpp ../selectaddresstypecombobox.cpp
../addresstypedialog.cpp
)
add_executable
(
addresseslocationwidget
${
addresseslocationwidget_SRCS
}
)
add_test
(
addresseslocationwidget addresseslocationwidget
)
ecm_mark_as_test
(
addresseslocationwidget
)
...
...
akonadi-contact/src/editor/addresseditor/selectaddresstypecombobox.cpp
View file @
3fa9fe9e
...
...
@@ -21,8 +21,10 @@
*/
#include "addresstypedialog.h"
#include "selectaddresstypecombobox.h"
#include <KLocalizedString>
#include <autoqpointer_p.h>
SelectAddressTypeComboBox
::
SelectAddressTypeComboBox
(
QWidget
*
parent
)
:
KComboBox
(
parent
)
...
...
@@ -97,7 +99,6 @@ void SelectAddressTypeComboBox::selected(int pos)
void
SelectAddressTypeComboBox
::
otherSelected
()
{
#if 0
AutoQPointer
<
AddressTypeDialog
>
dlg
=
new
AddressTypeDialog
(
mType
,
this
);
if
(
dlg
->
exec
())
{
mType
=
dlg
->
type
();
...
...
@@ -107,6 +108,5 @@ void SelectAddressTypeComboBox::otherSelected()
}
else
{
setType
(
KContacts
::
Address
::
Type
(
mTypeList
.
at
(
mLastSelected
)));
}
#endif
update
();
}
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