소스 검색

Tentative fix for macOS build failures

Paulo Coelho Alves 5 년 전
부모
커밋
970544b5f2
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/ui/KonvergoWindow.cpp

+ 4 - 4
src/ui/KonvergoWindow.cpp

@@ -21,9 +21,9 @@
 #include "Globals.h"
 #include "EventFilter.h"
 
-#ifdef Q_OS_UNIX
+#ifdef USE_X11EXTRAS
 #include <QX11Info>
-#include <X11/Xlib.h> 
+#include <X11/Xlib.h>
 #endif
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -72,8 +72,8 @@ KonvergoWindow::KonvergoWindow(QWindow* parent) :
 #else
   setColor(QColor("#000000"));
 #endif
- 
-#ifdef Q_OS_UNIX
+
+#ifdef USE_X11EXTRAS
   // On Gnome show a darker title bar
   if (QX11Info::isPlatformX11())
   {