Release build now builds

This commit is contained in:
Sergio Martins
2022-06-11 15:24:19 +01:00
parent 42998971cc
commit 0031f1bcfd
4 changed files with 11 additions and 6 deletions

View File

@@ -146,6 +146,11 @@ int Platform_qt::screenNumberForQWindow(QWindow *window) const
return -1;
}
void Platform_qt::sendEvent(View *view, QEvent *ev) const
{
qGuiApp->sendEvent(view->asQObject(), ev);
}
#ifdef DOCKS_DEVELOPER_MODE
bool Platform_qt::tests_waitForWindowActive(Window::Ptr window, int timeout) const
@@ -229,12 +234,6 @@ bool Platform_qt::tests_waitForDeleted(QObject *o, int timeout) const
return wasDeleted;
}
void Platform_qt::sendEvent(View *view, QEvent *ev) const
{
qGuiApp->sendEvent(view->asQObject(), ev);
}
void Platform_qt::tests_sendEvent(Window::Ptr window, QEvent *ev) const
{
qGuiApp->sendEvent(static_cast<Window_qt *>(window.get())->qtWindow(), ev);