mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-09 02:55:18 +00:00
Expose gtk integration to lib_base
This commit is contained in:
@@ -642,7 +642,7 @@ bool Supported() {
|
||||
}
|
||||
|
||||
bool Use(Type type) {
|
||||
return IsGtkIntegrationForced()
|
||||
return qEnvironmentVariableIsSet("TDESKTOP_USE_GTK_FILE_DIALOG")
|
||||
|| DesktopEnvironment::IsGtkBased()
|
||||
// use as a fallback for portal dialog
|
||||
|| UseXDGDesktopPortal();
|
||||
|
Reference in New Issue
Block a user