mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Merge pull request #1110 from vedgy/avoid-duplicate-currentGroupChanged-connection
Avoid duplicate currentGroupChanged() connection
This commit is contained in:
commit
15cbce1a7f
|
@ -117,9 +117,6 @@ ScanPopup::ScanPopup( QWidget * parent,
|
|||
translateLineDefaultFont = ui.translateBox->font();
|
||||
groupListDefaultFont = ui.groupList->font();
|
||||
|
||||
applyZoomFactor();
|
||||
applyWordsZoomLevel();
|
||||
|
||||
ui.mainLayout->addWidget( definition );
|
||||
|
||||
ui.translateBox->wordList()->attachFinder( &wordFinder );
|
||||
|
@ -331,6 +328,9 @@ ScanPopup::ScanPopup( QWidget * parent,
|
|||
connect( &delayTimer, SIGNAL( timeout() ),
|
||||
this, SLOT( delayShow() ) );
|
||||
#endif
|
||||
|
||||
applyZoomFactor();
|
||||
applyWordsZoomLevel();
|
||||
}
|
||||
|
||||
ScanPopup::~ScanPopup()
|
||||
|
|
Loading…
Reference in a new issue