Qt: fix size watcher cancellation on soft refresh

Also setting the cancel flag manually since the canceled signal seems to be very unreliable (I managed to trigger it rarely)
This commit is contained in:
Megamouse 2022-12-30 12:02:43 +01:00
parent 382a27cb2f
commit 98dbbd84ac
3 changed files with 19 additions and 5 deletions

View file

@ -2982,6 +2982,10 @@ void main_window::keyPressEvent(QKeyEvent *keyEvent)
{
ui->toolbar_fullscreen->trigger();
}
else if ((keyEvent->modifiers() & Qt::ControlModifier) && keyEvent->key() == Qt::Key_F5)
{
m_game_list_frame->Refresh(true);
}
}
void main_window::mouseDoubleClickEvent(QMouseEvent *event)