Windows QPA: Do not return QPlatformIntegration::ShowIsMaximized in tablet mode
The hint is not appropriate for Windows 10 tablet mode as it affects only main windows. Dialogs should still show up in normal size. Partially reverts change d377f14fd5b4fe3ed64392c6b743bac395f9f891. Task-number: QTBUG-58227 Change-Id: If9cf4990eb40913904cd97e17a7622bc6cbe84ca Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
1e7ce7aab0
commit
49dc9aa409
@ -512,11 +512,6 @@ QVariant QWindowsIntegration::styleHint(QPlatformIntegration::StyleHint hint) co
|
||||
return QVariant(keyBoardAutoRepeatRateMS());
|
||||
#endif
|
||||
case QPlatformIntegration::ShowIsMaximized:
|
||||
#ifndef QT_NO_CLIPBOARD
|
||||
return qt_windowsIsTabletMode(d->m_clipboard.clipboardViewer());
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case QPlatformIntegration::StartDragTime:
|
||||
case QPlatformIntegration::StartDragDistance:
|
||||
case QPlatformIntegration::KeyboardInputInterval:
|
||||
|
Loading…
x
Reference in New Issue
Block a user