mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix possible crash in intro widget.
This commit is contained in:
parent
f1b4a82015
commit
17312a1eec
1 changed files with 3 additions and 0 deletions
|
@ -725,6 +725,9 @@ void Widget::paintEvent(QPaintEvent *e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::resizeEvent(QResizeEvent *e) {
|
void Widget::resizeEvent(QResizeEvent *e) {
|
||||||
|
if (_stepHistory.empty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (const auto step : _stepHistory) {
|
for (const auto step : _stepHistory) {
|
||||||
step->setGeometry(rect());
|
step->setGeometry(rect());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue