Android: Fix initial window size for raster backend
We forgot to set the ShowIsFullScreen property for the raster engine case. OpenGL windows already did the right thing, since the GL backend is based on eglFS. The iOS backend also has this logic. Task-number: QTBUG-31984 Change-Id: I1cf5df32d79f441768126f00632107a7971eb5ad Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
7e33ec97e3
commit
8f8c29b1c8
@ -216,6 +216,16 @@ QPlatformServices *QAndroidPlatformIntegration::services() const
|
|||||||
return m_androidPlatformServices;
|
return m_androidPlatformServices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QVariant QAndroidPlatformIntegration::styleHint(StyleHint hint) const
|
||||||
|
{
|
||||||
|
switch (hint) {
|
||||||
|
case ShowIsFullScreen:
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return QPlatformIntegration::styleHint(hint);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static const QLatin1String androidThemeName("android");
|
static const QLatin1String androidThemeName("android");
|
||||||
QStringList QAndroidPlatformIntegration::themeNames() const
|
QStringList QAndroidPlatformIntegration::themeNames() const
|
||||||
{
|
{
|
||||||
|
@ -112,6 +112,8 @@ public:
|
|||||||
QPlatformNativeInterface *nativeInterface() const;
|
QPlatformNativeInterface *nativeInterface() const;
|
||||||
QPlatformServices *services() const;
|
QPlatformServices *services() const;
|
||||||
|
|
||||||
|
QVariant styleHint(StyleHint hint) const;
|
||||||
|
|
||||||
QStringList themeNames() const;
|
QStringList themeNames() const;
|
||||||
QPlatformTheme *createPlatformTheme(const QString &name) const;
|
QPlatformTheme *createPlatformTheme(const QString &name) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user