mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-28 03:44:07 +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();
|
translateLineDefaultFont = ui.translateBox->font();
|
||||||
groupListDefaultFont = ui.groupList->font();
|
groupListDefaultFont = ui.groupList->font();
|
||||||
|
|
||||||
applyZoomFactor();
|
|
||||||
applyWordsZoomLevel();
|
|
||||||
|
|
||||||
ui.mainLayout->addWidget( definition );
|
ui.mainLayout->addWidget( definition );
|
||||||
|
|
||||||
ui.translateBox->wordList()->attachFinder( &wordFinder );
|
ui.translateBox->wordList()->attachFinder( &wordFinder );
|
||||||
|
@ -331,6 +328,9 @@ ScanPopup::ScanPopup( QWidget * parent,
|
||||||
connect( &delayTimer, SIGNAL( timeout() ),
|
connect( &delayTimer, SIGNAL( timeout() ),
|
||||||
this, SLOT( delayShow() ) );
|
this, SLOT( delayShow() ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
applyZoomFactor();
|
||||||
|
applyWordsZoomLevel();
|
||||||
}
|
}
|
||||||
|
|
||||||
ScanPopup::~ScanPopup()
|
ScanPopup::~ScanPopup()
|
||||||
|
|
Loading…
Reference in a new issue