diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index a4885388d..b7834a48a 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -371,15 +371,16 @@ bool GenerateServiceFile(bool silent = false) { } try { - const auto connection = Gio::DBus::Connection::get_sync( - Gio::DBus::BusType::SESSION); - - connection->call_sync( + Gio::DBus::Connection::get_sync( + Gio::DBus::BusType::SESSION + )->call( base::Platform::DBus::kObjectPath, base::Platform::DBus::kInterface, "ReloadConfig", {}, - base::Platform::DBus::kService); + {}, + base::Platform::DBus::kService + ); } catch (...) { }