1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-28 03:32:27 +01:00

* Don't show resolver errors when built with RelWithDebInfo.

This commit is contained in:
Christian Muehlhaeuser 2012-06-25 19:16:53 +02:00
parent 037a5dab12
commit d39378b599

View File

@ -213,7 +213,7 @@ void
ScriptEngine::javaScriptConsoleMessage( const QString& message, int lineNumber, const QString& sourceID )
{
tLog() << "JAVASCRIPT:" << m_scriptPath << message << lineNumber << sourceID;
#ifdef DEBUG_BUILD
#ifndef QT_NO_DEBUG
QMessageBox::critical( 0, "Script Resolver Error", QString( "%1 %2 %3 %4" ).arg( m_scriptPath ).arg( message ).arg( lineNumber ).arg( sourceID ) );
#endif
}