mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Fix some more possibly crashes with Qt 5.12
This commit is contained in:
parent
cf2ca576d4
commit
5fb4ff183e
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue