mirror of https://github.com/procxx/kepka.git
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");
|
qputenv("QT_WAYLAND_DECORATION", "material");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(IsStaticBinary()
|
if((IsStaticBinary()
|
||||||
|| InAppImage()
|
|| InAppImage()
|
||||||
|| InSnap()
|
|| InSnap()
|
||||||
|| UseGtkFileDialog()
|
|| UseGtkFileDialog()
|
||||||
|| IsQtPluginsBundled()) {
|
|| IsQtPluginsBundled())
|
||||||
|
&& !InFlatpak()) {
|
||||||
LOG(("Checking for XDG Desktop Portal..."));
|
LOG(("Checking for XDG Desktop Portal..."));
|
||||||
// this can give us a chance to use a proper file dialog for current session
|
// this can give us a chance to use a proper file dialog for current session
|
||||||
if (IsXDGDesktopPortalPresent()) {
|
if (IsXDGDesktopPortalPresent()) {
|
||||||
|
|
Loading…
Reference in New Issue