History

initial newline removal from all QDebug calls

Stephen Birarda committed 12 years ago

Commit 987c6391 parent a8bbe4172 files · +477 −486Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 72 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+5−5
@@ -145,11 +145,11 @@ void ScriptEngine::evaluate() { · 144 unmodified lines
145145 }
146146
147147 QScriptValue result = _engine.evaluate(_scriptContents);
148− qDebug() << "Evaluated script.\n";
148+ qDebug("Evaluated script.");
149149
150150 if (_engine.hasUncaughtException()) {
151151 int line = _engine.uncaughtExceptionLineNumber();
152− qDebug() << "Uncaught exception at line" << line << ":" << result.toString() << "\n";
152+ qDebug() << "Uncaught exception at line" << line << ":" << result.toString();
153153 }
154154 }
155155
@@ -160,11 +160,11 @@ void ScriptEngine::run() { · 4 unmodified lines
160160 _isRunning = true;
161161
162162 QScriptValue result = _engine.evaluate(_scriptContents);
163− qDebug() << "Evaluated script.\n";
163+ qDebug("Evaluated script");
164164
165165 if (_engine.hasUncaughtException()) {
166166 int line = _engine.uncaughtExceptionLineNumber();
167− qDebug() << "Uncaught exception at line" << line << ":" << result.toString() << "\n";
167+ qDebug() << "Uncaught exception at line" << line << ":" << result.toString();
168168 }
169169
170170 timeval startTime;
@@ -221,7 +221,7 @@ void ScriptEngine::run() { · 50 unmodified lines
221221
222222 if (_engine.hasUncaughtException()) {
223223 int line = _engine.uncaughtExceptionLineNumber();
224− qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString() << "\n";
224+ qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();
225225 }
226226 }
227227 cleanMenuItems();