mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix possible crash in intro widget.
This commit is contained in:
@@ -725,6 +725,9 @@ void Widget::paintEvent(QPaintEvent *e) {
|
||||
}
|
||||
|
||||
void Widget::resizeEvent(QResizeEvent *e) {
|
||||
if (_stepHistory.empty()) {
|
||||
return;
|
||||
}
|
||||
for (const auto step : _stepHistory) {
|
||||
step->setGeometry(rect());
|
||||
}
|
||||
|
Reference in New Issue
Block a user