Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 39 files). Show all
Unified · Split
| @@ -317,7 +317,7 @@ bool WindowScriptingInterface::isPhysicsEnabled() { · 316 unmodified lines | |||
| 317 | int WindowScriptingInterface::openMessageBox(QString title, QString text, int buttons, int defaultButton) { | 317 | int WindowScriptingInterface::openMessageBox(QString title, QString text, int buttons, int defaultButton) { |
| 318 | if (QThread::currentThread() != thread()) { | 318 | if (QThread::currentThread() != thread()) { |
| 319 | int result; | 319 | int result; |
| 320 | hifi::qt::blockingInvokeMethod(this, "openMessageBox", | 320 | BLOCKING_INVOKE_METHOD(this, "openMessageBox", |
| 321 | Q_RETURN_ARG(int, result), | 321 | Q_RETURN_ARG(int, result), |
| 322 | Q_ARG(QString, title), | 322 | Q_ARG(QString, title), |
| 323 | Q_ARG(QString, text), | 323 | Q_ARG(QString, text), |