Pārlūkot izejas kodu

UI: Fix compile error when obs-browser disabled

bin 2 gadi atpakaļ
vecāks
revīzija
27981b15e9
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      UI/update/shared-update.cpp

+ 2 - 0
UI/update/shared-update.cpp

@@ -15,10 +15,12 @@
 #include <QByteArray>
 #include <QString>
 
+#ifdef BROWSER_AVAILABLE
 #include <browser-panel.hpp>
 
 struct QCef;
 extern QCef *cef;
+#endif
 
 #ifndef MAC_WHATSNEW_URL
 #define MAC_WHATSNEW_URL "https://obsproject.com/update_studio/whatsnew.json"