remove inform dialog for non-ascii char in gdb path
This commit is contained in:
parent
eb4eadabbc
commit
f08b14978c
|
@ -66,16 +66,16 @@ bool Debugger::start(const QString& inferior)
|
|||
mExecuting = true;
|
||||
QString debuggerPath = compilerSet->debugger();
|
||||
//QFile debuggerProgram(debuggerPath);
|
||||
if (!isTextAllAscii(debuggerPath)) {
|
||||
mExecuting = false;
|
||||
QMessageBox::critical(pMainWindow,
|
||||
tr("Debugger path error"),
|
||||
tr("Debugger's path \"%1\" contains non-ascii characters.")
|
||||
.arg(debuggerPath)
|
||||
+ "<br />"
|
||||
+ tr("This prevents it from executing."));
|
||||
return false;
|
||||
}
|
||||
// if (!isTextAllAscii(debuggerPath)) {
|
||||
// mExecuting = false;
|
||||
// QMessageBox::critical(pMainWindow,
|
||||
// tr("Debugger path error"),
|
||||
// tr("Debugger's path \"%1\" contains non-ascii characters.")
|
||||
// .arg(debuggerPath)
|
||||
// + "<br />"
|
||||
// + tr("This prevents it from executing."));
|
||||
// return false;
|
||||
// }
|
||||
if (!fileExists(debuggerPath)) {
|
||||
mExecuting = false;
|
||||
QMessageBox::critical(pMainWindow,
|
||||
|
|
Loading…
Reference in New Issue