From 451fdb5c21dbdd04c2cf6130cc21f58a67391e69 Mon Sep 17 00:00:00 2001 From: shenlebantongying Date: Sun, 20 Nov 2022 01:51:23 -0500 Subject: [PATCH] Fix win build with HAVE_X11 --- scanpopup.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scanpopup.cc b/scanpopup.cc index a0a7691b..adf9adec 100644 --- a/scanpopup.cc +++ b/scanpopup.cc @@ -1339,7 +1339,7 @@ void ScanPopup::titleChanged( ArticleView *, QString const & title ) blueStarIcon : starIcon ); } - +#ifdef HAVE_X11 void ScanPopup::showScanFlag(){ scanFlag->showScanFlag(); } @@ -1347,3 +1347,4 @@ void ScanPopup::showScanFlag(){ void ScanPopup::hideScanFlag(){ scanFlag->hideWindow(); } +#endif