Commit 8e632c0e authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix Windows Qt6 build

parent 8bf80a7e
......@@ -885,7 +885,7 @@ void AgentBase::debugAgent(int argc, char **argv)
#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()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment