mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Since changing the ibus portal check, it is not compatible with snap anymore
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user