2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Avoid using const_string for constant consumed by std::string

This commit is contained in:
Ilya Fedin
2023-07-20 18:06:45 +04:00
committed by John Preston
parent 68fa3e36d7
commit 9ccb11bd1a
4 changed files with 58 additions and 61 deletions

View File

@@ -114,8 +114,8 @@ LinuxIntegration::LinuxIntegration()
XdpInhibit::InhibitProxy::new_for_bus_sync(
Gio::BusType::SESSION_,
Gio::DBusProxyFlags::DO_NOT_AUTO_START_AT_CONSTRUCTION_,
std::string(base::Platform::XDP::kService),
std::string(base::Platform::XDP::kObjectPath),
base::Platform::XDP::kService,
base::Platform::XDP::kObjectPath,
nullptr))
, _darkModeWatcher([](
const Glib::ustring &group,