Fix some more possibly crashes with Qt 5.12

This commit is contained in:
Abs62 2019-03-22 17:10:26 +03:00
parent cf2ca576d4
commit 5fb4ff183e

View file

@ -4252,7 +4252,7 @@ void MainWindow::showDictionaryHeadwords( QWidget * owner, Dictionary::Class * d
connect( headwordsDlg, SIGNAL( headwordSelected( QString, QString ) ), connect( headwordsDlg, SIGNAL( headwordSelected( QString, QString ) ),
this, SLOT( headwordReceived( QString, QString ) ) ); this, SLOT( headwordReceived( QString, QString ) ) );
connect( headwordsDlg, SIGNAL( closeDialog() ), connect( headwordsDlg, SIGNAL( closeDialog() ),
this, SLOT( closeHeadwordsDialog() ) ); this, SLOT( closeHeadwordsDialog() ), Qt::QueuedConnection );
} }
else else
headwordsDlg->setup( dict ); headwordsDlg->setup( dict );