Never use custom code for portal detecting in flatpak
This commit is contained in:
parent
f1e75d809a
commit
0165e31ca7
|
@ -712,11 +712,12 @@ void start() {
|
|||
qputenv("QT_WAYLAND_DECORATION", "material");
|
||||
}
|
||||
|
||||
if(IsStaticBinary()
|
||||
if((IsStaticBinary()
|
||||
|| InAppImage()
|
||||
|| InSnap()
|
||||
|| UseGtkFileDialog()
|
||||
|| IsQtPluginsBundled()) {
|
||||
|| IsQtPluginsBundled())
|
||||
&& !InFlatpak()) {
|
||||
LOG(("Checking for XDG Desktop Portal..."));
|
||||
// this can give us a chance to use a proper file dialog for current session
|
||||
if (IsXDGDesktopPortalPresent()) {
|
||||
|
|
Loading…
Reference in New Issue