Ensure replay loop is cancelled before window is hidden

* See also f56a989e4f - we don't want to make the replay loop always on
  top though
This commit is contained in:
baldurk committed 2025-02-21 14:38:54 +00:00
1 parent 31d29fcea1
commit 46f83c15a4
3 files changed
+33 -2

No files matched your search

+12
View File
@@ -2533,6 +2533,18 @@ QString RDDialog::getSaveFileName(QWidget *parent, const QString &caption, const
return QString();
}
void RDDialog::closeEvent(QCloseEvent *e)
{
emit(aboutToClose(e));
QDialog::closeEvent(e);
}
void RDDialog::keyPressEvent(QKeyEvent *e)
{
emit(keyPress(e));
QDialog::keyPressEvent(e);
}
bool QFileFilterModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
{
QModelIndex idx = sourceModel()->index(source_row, 0, source_parent);