Merge pull request #1110 from vedgy/avoid-duplicate-currentGroupChanged-connection

Avoid duplicate currentGroupChanged() connection
This commit is contained in:
Abs62 2019-01-28 18:30:28 +03:00 committed by GitHub
commit 15cbce1a7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()