Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi
Commits
8e632c0e
Commit
8e632c0e
authored
Oct 22, 2022
by
Nicolas Fella
Browse files
Fix Windows Qt6 build
parent
8bf80a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/agentbase/agentbase.cpp
View file @
8e632c0e
...
...
@@ -885,7 +885,7 @@ void AgentBase::debugAgent(int argc, char **argv)
Q_UNUSED
(
argc
)
#ifdef Q_OS_WIN
if
(
qEnvironmentVariableIsSet
(
"AKONADI_DEBUG_WAIT"
))
{
if
(
QByteArray
(
argv
[
0
]).
endsWith
(
qgetenv
(
"AKONADI_DEBUG_WAIT"
)
+
".exe"
))
{
if
(
QByteArray
(
argv
[
0
]).
endsWith
(
QByteArray
(
qgetenv
(
"AKONADI_DEBUG_WAIT"
)
+
QByteArrayLiteral
(
".exe"
))
))
{
while
(
!
IsDebuggerPresent
())
{
std
::
this_thread
::
sleep_for
(
std
::
chrono
::
milliseconds
(
100
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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