Merge pull request #881 from shenlebantongying/macOS_slot

fix: macOS missing slot warning
This commit is contained in:
xiaoyifang 2023-06-20 09:54:40 +08:00 committed by GitHub
commit a0d8c50a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,9 +243,9 @@ ScanPopup::ScanPopup( QWidget * parent,
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
connect( &MouseOver::instance(), connect( &MouseOver::instance(),
SIGNAL( hovered( QString const &, bool ) ), &MouseOver::hovered,
this, this,
SLOT( handleInputWord( QString const &, bool ) ) ); &ScanPopup::handleInputWord);
#endif #endif
hideTimer.setSingleShot( true ); hideTimer.setSingleShot( true );