Commit 210701f8bc927e403a48bf59411564e59fa1b410
1 parent
4913246e
added SDK path to error info
Showing
1 changed file
with
2 additions
and
2 deletions
openbr/openbr_plugin.cpp
| @@ -996,9 +996,9 @@ void br::Context::messageHandler(QtMsgType type, const QMessageLogContext &conte | @@ -996,9 +996,9 @@ void br::Context::messageHandler(QtMsgType type, const QMessageLogContext &conte | ||
| 996 | switch (type) { | 996 | switch (type) { |
| 997 | case QtWarningMsg: txt = QString("Warning: %1\n" ).arg(msg); break; | 997 | case QtWarningMsg: txt = QString("Warning: %1\n" ).arg(msg); break; |
| 998 | case QtCriticalMsg: txt = QString("Critical: %1\n").arg(msg); break; | 998 | case QtCriticalMsg: txt = QString("Critical: %1\n").arg(msg); break; |
| 999 | - default: txt = QString("Fatal: %1\n" ).arg(msg); | 999 | + default: txt = QString("Fatal: %1\n" ).arg(msg); break; |
| 1000 | } | 1000 | } |
| 1001 | - txt += " File: " + QString(context.file) + "\n Function: " + QString(context.function) + "\n Line: " + QString::number(context.line) + "\n"; | 1001 | + txt += " SDK Path: " + Globals->sdkPath + "\n File: " + QString(context.file) + "\n Function: " + QString(context.function) + "\n Line: " + QString::number(context.line) + "\n"; |
| 1002 | } | 1002 | } |
| 1003 | 1003 | ||
| 1004 | std::cerr << txt.toStdString(); | 1004 | std::cerr << txt.toStdString(); |