Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 37 files). Show all
Unified · Split
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "Menu.h" |
| 24 | 24 | #include "OffscreenUi.h" |
| 25 | 25 | #include "ui/ModelsBrowser.h" |
| 26 | +#include "WebWindowClass.h" | |
| 26 | 27 | |
| 27 | 28 | #include "WindowScriptingInterface.h" |
| 28 | 29 | |
| @@ -37,8 +38,8 @@ WindowScriptingInterface::WindowScriptingInterface() : · 8 unmodified lines | ||
| 37 | 38 | connect(qApp, &Application::domainConnectionRefused, this, &WindowScriptingInterface::domainConnectionRefused); |
| 38 | 39 | } |
| 39 | 40 | |
| 40 | −WebWindowClass* WindowScriptingInterface::doCreateWebWindow(const QString& title, const QString& url, int width, int height, bool isToolWindow) { | |
| 41 | − return new WebWindowClass(title, url, width, height, isToolWindow); | |
| 41 | +WebWindowClass* WindowScriptingInterface::doCreateWebWindow(const QString& title, const QString& url, int width, int height) { | |
| 42 | + return new WebWindowClass(title, url, width, height); | |
| 42 | 43 | } |
| 43 | 44 | |
| 44 | 45 | QScriptValue WindowScriptingInterface::hasFocus() { |