tests: Fix warning about requiring to call init after qApp
This commit is contained in:
@@ -194,4 +194,10 @@ bool Platform_qt::isGammaray()
|
||||
return is;
|
||||
}
|
||||
|
||||
Platform_qt::Platform_qt(int argc, char *argv[])
|
||||
{
|
||||
Q_UNUSED(argc)
|
||||
Q_UNUSED(argv)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
|
||||
#ifdef DOCKS_DEVELOPER_MODE
|
||||
static bool isGammaray();
|
||||
explicit Platform_qt(int argc, char *argv[]);
|
||||
bool tests_waitForWindowActive(std::shared_ptr<Window>, int timeout = 5000) const override;
|
||||
bool tests_waitForEvent(QObject *w, QEvent::Type type, int timeout = 5000) const override;
|
||||
bool tests_waitForEvent(View *, QEvent::Type type, int timeout = 5000) const override;
|
||||
|
||||
Reference in New Issue
Block a user