Commit 15967b0d authored by Julien Malik's avatar Julien Malik
Browse files

ENH: do not show a warning msgbox when not finding the requested translation, except in debug mode

parent cd51e2a3
...@@ -241,7 +241,9 @@ I18nApplication ...@@ -241,7 +241,9 @@ I18nApplication
qWarning() << message; qWarning() << message;
// TODO: morph into better HMI design. // TODO: morph into better HMI design.
#if !defined( _DEBUG )
QMessageBox::warning( NULL, tr( "Warning!" ), message ); QMessageBox::warning( NULL, tr( "Warning!" ), message );
#endif
return false; return false;
} }
......
Markdown is supported
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