mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-27 00:53:22 +00:00
Fix possible crash in intro widget.
This commit is contained in:
parent
f1b4a82015
commit
17312a1eec
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user