Skip to content

Commit

Permalink
fix compile debugger without tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Apr 4, 2024
1 parent ec40db9 commit 41d13f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/debugger/gdb/gdbengine.cpp
Expand Up @@ -4173,7 +4173,11 @@ void GdbEngine::resetInferior()
void GdbEngine::handleAdapterStartFailed(const QString &msg, Id settingsIdHint)
{
showMessage("ADAPTER START FAILED");
#ifdef WITH_TESTS
if (!msg.isEmpty() && !Internal::isTestRun()) {
#else
if (!msg.isEmpty()) {
#endif
const QString title = Tr::tr("Adapter Start Failed");
ICore::showWarningWithOptions(title, msg, QString(), settingsIdHint);
}
Expand Down

0 comments on commit 41d13f9

Please sign in to comment.