fix: clipboard tracking in windows should not be functioned when not enabled.

This commit is contained in:
Xiao YiFang 2022-08-31 21:54:53 +08:00
parent 92e06428f7
commit 306c435ae0

View file

@ -514,6 +514,8 @@ void ScanPopup::delayShow()
void ScanPopup::clipboardChanged( QClipboard::Mode m )
{
if( !cfg.preferences.trackClipboardChanges )
return;
if( !isScanningEnabled )
return;