From 8dadeb197bc4ef84858aef1cea6eb4b605e13b75 Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Fri, 1 Mar 2019 11:35:08 -0800 Subject: [PATCH] Corrected error message. --- tools/nitpick/src/AdbInterface.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/nitpick/src/AdbInterface.cpp b/tools/nitpick/src/AdbInterface.cpp index 82ef1446e3..41eb947efa 100644 --- a/tools/nitpick/src/AdbInterface.cpp +++ b/tools/nitpick/src/AdbInterface.cpp @@ -16,12 +16,13 @@ QString AdbInterface::getAdbCommand() { #ifdef Q_OS_WIN if (_adbCommand.isNull()) { - QString adbPath = PathUtils::getPathToExecutable("adb.exe"); + QString adbExe{ "adb.exe" }; + QString adbPath = PathUtils::getPathToExecutable(adbExe); if (!adbPath.isNull()) { - _adbCommand = adbPath + _adbExe; + _adbCommand = adbExe; } else { - QMessageBox::critical(0, "python.exe not found", - "Please verify that pyton.exe is in the PATH"); + QMessageBox::critical(0, "adb.exe not found", + "Please verify that adb.exe is in the PATH"); exit(-1); } }