Fix URL open crash (#596)
This commit is contained in:
parent
10678096e5
commit
51d7a6289e
2 changed files with 32 additions and 5 deletions
|
@ -34,5 +34,18 @@ namespace DesktopServices
|
|||
*/
|
||||
bool openUrl(const QUrl &url);
|
||||
|
||||
/**
|
||||
* Determine whether the launcher is running in a Flatpak environment
|
||||
*/
|
||||
bool isFlatpak();
|
||||
|
||||
/**
|
||||
* Determine whether the launcher is running in a Snap environment
|
||||
*/
|
||||
bool isSnap();
|
||||
|
||||
/**
|
||||
* Determine whether the launcher is running in a sandboxed (Flatpak or Snap) environment
|
||||
*/
|
||||
bool isSandbox();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue