Remove setting of Qt::AA_DontCreateNativeWidgetSiblings .

Change qtbase 72a7882cec07a9ad187c9e1772fb08f59a4b9519
avoids unnecessary creation of native siblings in Qt 5.

Task-number: QTBUG-34138
Change-Id: Ie6b847f57a40d56028c771628f31acb182179066
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Friedemann Kleint
2013-10-22 14:43:43 +02:00
parent eed81ea871
commit 719c87e599

View File

@@ -313,11 +313,6 @@ int main(int argc, char **argv)
#if QT_VERSION >= 0x050100
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
if (Utils::HostOsInfo::isWindowsHost() || Utils::HostOsInfo::isMacHost()) {
// Prevent native windows from being created for the sibling widgets of the welcome screen.
// Causes flicker on Linux, though.
app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
}
#endif
// Manually determine -settingspath command line option