History

Memleak fix. Cleanup

vladest committed 9 years ago

Commit 1cde5041 parent a8d24d92 files · +1 −4Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+0−4
@@ -132,8 +132,6 @@ void WindowScriptingInterface::promptAsync(const QString& message, const QString · 131 unmodified lines
132 disconnect(dlg, &ModalDialogListener::response, this, nullptr);132 disconnect(dlg, &ModalDialogListener::response, this, nullptr);
133 emit promptTextChanged(result.toString());133 emit promptTextChanged(result.toString());
134 });134 });
135
136
137}135}
138 136
139CustomPromptResult WindowScriptingInterface::customPrompt(const QVariant& config) {137CustomPromptResult WindowScriptingInterface::customPrompt(const QVariant& config) {
@@ -319,8 +317,6 @@ void WindowScriptingInterface::saveAsync(const QString& title, const QString& di · 179 unmodified lines
319 }317 }
320 emit saveFileChanged(result);318 emit saveFileChanged(result);
321 });319 });
322
323
324}320}
325 321
326/// Display a select asset dialog that lets the user select an asset from the Asset Server. If `directory` is an invalid322/// Display a select asset dialog that lets the user select an asset from the Asset Server. If `directory` is an invalid