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
ea316509
Commit
ea316509
authored
Jan 08, 2018
by
Laurent Montel
😁
Browse files
Port to new connect api
parent
79d0f900
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmailtransport/plugins/smtp/autotests/fakeserver.cpp
View file @
ea316509
...
@@ -61,7 +61,11 @@ void FakeServer::startAndWait()
...
@@ -61,7 +61,11 @@ void FakeServer::startAndWait()
{
{
start
();
start
();
// this will block until the event queue starts
// this will block until the event queue starts
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject
::
invokeMethod
(
this
,
&
FakeServer
::
started
,
Qt
::
BlockingQueuedConnection
);
#else
QMetaObject
::
invokeMethod
(
this
,
"started"
,
Qt
::
BlockingQueuedConnection
);
QMetaObject
::
invokeMethod
(
this
,
"started"
,
Qt
::
BlockingQueuedConnection
);
#endif
}
}
void
FakeServer
::
dataAvailable
()
void
FakeServer
::
dataAvailable
()
...
...
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