From 5fb4ff183eec9be05412752ea076652ed3a1b0ca Mon Sep 17 00:00:00 2001 From: Abs62 Date: Fri, 22 Mar 2019 17:10:26 +0300 Subject: [PATCH] Fix some more possibly crashes with Qt 5.12 --- mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cc b/mainwindow.cc index f2119723..ea3ecc1d 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -4252,7 +4252,7 @@ void MainWindow::showDictionaryHeadwords( QWidget * owner, Dictionary::Class * d connect( headwordsDlg, SIGNAL( headwordSelected( QString, QString ) ), this, SLOT( headwordReceived( QString, QString ) ) ); connect( headwordsDlg, SIGNAL( closeDialog() ), - this, SLOT( closeHeadwordsDialog() ) ); + this, SLOT( closeHeadwordsDialog() ), Qt::QueuedConnection ); } else headwordsDlg->setup( dict );