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
KMailTransport
Commits
79d0f900
Commit
79d0f900
authored
Jan 04, 2018
by
Laurent Montel
😁
Browse files
Use new connect api
parent
9e40580f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmailtransport/widgets/transportcombobox.cpp
View file @
79d0f900
...
...
@@ -37,7 +37,11 @@ TransportComboBox::TransportComboBox(QWidget *parent)
:
QComboBox
(
parent
)
,
d
(
new
TransportComboBoxPrivate
)
{
QMetaObject
::
invokeMethod
(
this
,
"updateComboboxList"
);
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject
::
invokeMethod
(
this
,
&
TransportComboBox
::
updateComboboxList
,
Qt
::
QueuedConnection
);
#else
QMetaObject
::
invokeMethod
(
this
,
"updateComboboxList"
,
Qt
::
QueuedConnection
);
#endif
connect
(
TransportManager
::
self
(),
&
TransportManager
::
transportsChanged
,
this
,
&
TransportComboBox
::
updateComboboxList
);
connect
(
TransportManager
::
self
(),
&
TransportManager
::
transportRemoved
,
this
,
&
TransportComboBox
::
transportRemoved
);
}
...
...
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