Remove a workaround for Qt 5.6.

This commit is contained in:
John Preston 2020-06-04 13:21:39 +04:00
parent d71d2121b1
commit 5429c4c53e

View file

@ -31,11 +31,6 @@ void CreateWidgetStateRecursive(not_null<QWidget*> target) {
if (!target->isWindow()) {
CreateWidgetStateRecursive(target->parentWidget());
WidgetCreator::Create(target);
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) \
&& QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
} else {
WidgetCreator::Create(target);
#endif // Qt >= 5.6
}
}
}