mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Since changing the ibus portal check, it is not compatible with snap anymore
This commit is contained in:
parent
21133abe13
commit
e64f6f7266
1 changed files with 4 additions and 1 deletions
|
@ -1158,7 +1158,10 @@ void start() {
|
||||||
// Since tdesktop is distributed in static binary form,
|
// Since tdesktop is distributed in static binary form,
|
||||||
// it makes sense to use ibus portal whenever it present
|
// it makes sense to use ibus portal whenever it present
|
||||||
// to ensure compatibility with the maximum range of distributions.
|
// to ensure compatibility with the maximum range of distributions.
|
||||||
if (IsIBusPortalPresent()) {
|
if (AreQtPluginsBundled()
|
||||||
|
&& !InFlatpak()
|
||||||
|
&& !InSnap()
|
||||||
|
&& IsIBusPortalPresent()) {
|
||||||
LOG(("IBus portal is present! Using it."));
|
LOG(("IBus portal is present! Using it."));
|
||||||
qputenv("IBUS_USE_PORTAL", "1");
|
qputenv("IBUS_USE_PORTAL", "1");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue