Fix AreQtPluginsBundled to include static binary

This commit is contained in:
Ilya Fedin 2020-11-06 10:54:37 +04:00 committed by John Preston
parent aec2b8df7e
commit f521275acc

View file

@ -635,11 +635,11 @@ bool IsGtkIntegrationForced() {
} }
bool AreQtPluginsBundled() { bool AreQtPluginsBundled() {
#ifdef DESKTOP_APP_USE_PACKAGED_LAZY #if !defined DESKTOP_APP_USE_PACKAGED || defined DESKTOP_APP_USE_PACKAGED_LAZY
return true; return true;
#else // DESKTOP_APP_USE_PACKAGED_LAZY #else // !DESKTOP_APP_USE_PACKAGED || DESKTOP_APP_USE_PACKAGED_LAZY
return false; return false;
#endif // !DESKTOP_APP_USE_PACKAGED_LAZY #endif // DESKTOP_APP_USE_PACKAGED && !DESKTOP_APP_USE_PACKAGED_LAZY
} }
bool IsXDGDesktopPortalPresent() { bool IsXDGDesktopPortalPresent() {