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
145 }145 }
146 146
147 QScriptValue result = _engine.evaluate(_scriptContents);147 QScriptValue result = _engine.evaluate(_scriptContents);
148 qDebug() << "Evaluated script.\n";148 qDebug("Evaluated script.");
149 149
150 if (_engine.hasUncaughtException()) {150 if (_engine.hasUncaughtException()) {
151 int line = _engine.uncaughtExceptionLineNumber();151 int line = _engine.uncaughtExceptionLineNumber();
152 qDebug() << "Uncaught exception at line" << line << ":" << result.toString() << "\n";152 qDebug() << "Uncaught exception at line" << line << ":" << result.toString();
153 }153 }
154}154}
155 155
@@ -160,11 +160,11 @@ void ScriptEngine::run() { · 4 unmodified lines
160 _isRunning = true;160 _isRunning = true;
161 161
162 QScriptValue result = _engine.evaluate(_scriptContents);162 QScriptValue result = _engine.evaluate(_scriptContents);
163 qDebug() << "Evaluated script.\n";163 qDebug("Evaluated script");
164 164
165 if (_engine.hasUncaughtException()) {165 if (_engine.hasUncaughtException()) {
166 int line = _engine.uncaughtExceptionLineNumber();166 int line = _engine.uncaughtExceptionLineNumber();
167 qDebug() << "Uncaught exception at line" << line << ":" << result.toString() << "\n";167 qDebug() << "Uncaught exception at line" << line << ":" << result.toString();
168 }168 }
169 169
170 timeval startTime;170 timeval startTime;
@@ -221,7 +221,7 @@ void ScriptEngine::run() { · 50 unmodified lines
221 221
222 if (_engine.hasUncaughtException()) {222 if (_engine.hasUncaughtException()) {
223 int line = _engine.uncaughtExceptionLineNumber();223 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();
225 }225 }
226 }226 }
227 cleanMenuItems();227 cleanMenuItems();