2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Use XDG Desktop Portal only when variable is set

This commit is contained in:
Ilya Fedin
2020-02-19 18:44:26 +04:00
committed by John Preston
parent bbc516cf43
commit ca1623f34a
3 changed files with 24 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ bool InSandbox();
bool InSnap();
bool IsXDGDesktopPortalPresent();
bool UseXDGDesktopPortal();
QString ProcessNameByPID(const QString &pid);
QString CurrentExecutablePath(int argc, char *argv[]);