mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Get rid of gtk open with dialog
Portal open with dialog works just fine and is a more universal solution... That allows to get rid of an additional process.
This commit is contained in:
@@ -653,7 +653,6 @@ void start() {
|
||||
|
||||
GtkIntegration::Start(GtkIntegration::Type::Base);
|
||||
GtkIntegration::Start(GtkIntegration::Type::Webview);
|
||||
GtkIntegration::Start(GtkIntegration::Type::TDesktop);
|
||||
|
||||
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
||||
g_warning(
|
||||
@@ -784,16 +783,11 @@ void start() {
|
||||
LOG(("Fallback icon theme: %1").arg(QIcon::fallbackThemeName()));
|
||||
|
||||
GtkIntegration::Autorestart(GtkIntegration::Type::Base);
|
||||
GtkIntegration::Autorestart(GtkIntegration::Type::TDesktop);
|
||||
|
||||
if (const auto integration = BaseGtkIntegration::Instance()) {
|
||||
integration->load(GtkIntegration::AllowedBackends());
|
||||
}
|
||||
|
||||
if (const auto integration = GtkIntegration::Instance()) {
|
||||
integration->load(GtkIntegration::AllowedBackends());
|
||||
}
|
||||
|
||||
// wait for interface announce to know if native window frame is supported
|
||||
if (const auto integration = UiWaylandIntegration::Instance()) {
|
||||
integration->waitForInterfaceAnnounce();
|
||||
|
Reference in New Issue
Block a user