1
0
Эх сурвалжийг харах

UI: Fix compile error when obs-browser disabled

bin 2 жил өмнө
parent
commit
27981b15e9

+ 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"