mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Fix warning in scanpopup.cc while compilation under Windows/MacOS
This commit is contained in:
parent
b7dbb6cd96
commit
0a8599d9b1
|
@ -33,6 +33,7 @@ Qt::Popup
|
|||
#endif
|
||||
;
|
||||
|
||||
#ifdef HAVE_X11
|
||||
static bool ownsClipboardMode( QClipboard::Mode mode )
|
||||
{
|
||||
const QClipboard & clipboard = *QApplication::clipboard();
|
||||
|
@ -49,6 +50,7 @@ static bool ownsClipboardMode( QClipboard::Mode mode )
|
|||
gdWarning( "Unknown clipboard mode: %d\n", static_cast< int >( mode ) );
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
ScanPopup::ScanPopup( QWidget * parent,
|
||||
Config::Class & cfg_,
|
||||
|
|
Loading…
Reference in a new issue