Merge remote-tracking branch 'origin/5.8.0' into 5.8
Conflicts: src/plugins/platforms/android/qandroidinputcontext.cpp Change-Id: I80f35a3d722f1e218ff338b6652e551da45c38e7
This commit is contained in:
commit
a23d705e18
@ -1191,7 +1191,7 @@ void QWindowsFontDatabase::populateFontDatabase()
|
|||||||
ReleaseDC(0, dummy);
|
ReleaseDC(0, dummy);
|
||||||
// Work around EnumFontFamiliesEx() not listing the system font.
|
// Work around EnumFontFamiliesEx() not listing the system font.
|
||||||
QString systemDefaultFamily = QWindowsFontDatabase::systemDefaultFont().family();
|
QString systemDefaultFamily = QWindowsFontDatabase::systemDefaultFont().family();
|
||||||
if (QPlatformFontDatabase::resolveFontFamilyAlias(systemDefaultFamily).isEmpty())
|
if (QPlatformFontDatabase::resolveFontFamilyAlias(systemDefaultFamily) == systemDefaultFamily)
|
||||||
QPlatformFontDatabase::registerFontFamily(systemDefaultFamily);
|
QPlatformFontDatabase::registerFontFamily(systemDefaultFamily);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -386,7 +386,7 @@ void QWindowsFontDatabaseFT::populateFontDatabase()
|
|||||||
ReleaseDC(0, dummy);
|
ReleaseDC(0, dummy);
|
||||||
// Work around EnumFontFamiliesEx() not listing the system font
|
// Work around EnumFontFamiliesEx() not listing the system font
|
||||||
QString systemDefaultFamily = QWindowsFontDatabase::systemDefaultFont().family();
|
QString systemDefaultFamily = QWindowsFontDatabase::systemDefaultFont().family();
|
||||||
if (QPlatformFontDatabase::resolveFontFamilyAlias(systemDefaultFamily).isEmpty())
|
if (QPlatformFontDatabase::resolveFontFamilyAlias(systemDefaultFamily) == systemDefaultFamily)
|
||||||
QPlatformFontDatabase::registerFontFamily(systemDefaultFamily);
|
QPlatformFontDatabase::registerFontFamily(systemDefaultFamily);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -512,11 +512,6 @@ QVariant QWindowsIntegration::styleHint(QPlatformIntegration::StyleHint hint) co
|
|||||||
return QVariant(keyBoardAutoRepeatRateMS());
|
return QVariant(keyBoardAutoRepeatRateMS());
|
||||||
#endif
|
#endif
|
||||||
case QPlatformIntegration::ShowIsMaximized:
|
case QPlatformIntegration::ShowIsMaximized:
|
||||||
#ifndef QT_NO_CLIPBOARD
|
|
||||||
return qt_windowsIsTabletMode(d->m_clipboard.clipboardViewer());
|
|
||||||
#else
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
case QPlatformIntegration::StartDragTime:
|
case QPlatformIntegration::StartDragTime:
|
||||||
case QPlatformIntegration::StartDragDistance:
|
case QPlatformIntegration::StartDragDistance:
|
||||||
case QPlatformIntegration::KeyboardInputInterval:
|
case QPlatformIntegration::KeyboardInputInterval:
|
||||||
|
Loading…
Reference in New Issue
Block a user