mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Get optional string support in cppgir
This commit is contained in:
@@ -241,7 +241,11 @@ void LinuxIntegration::initInhibit() {
|
||||
return;
|
||||
}
|
||||
|
||||
auto uniqueName = _inhibitProxy.get_connection().get_unique_name();
|
||||
auto uniqueName = _inhibitProxy
|
||||
.get_connection()
|
||||
.get_unique_name()
|
||||
.value_or("");
|
||||
|
||||
uniqueName.erase(0, 1);
|
||||
uniqueName.replace(uniqueName.find('.'), 1, 1, '_');
|
||||
|
||||
|
Submodule Telegram/lib_base updated: 1726a4fda0...e497dc134d
Submodule Telegram/lib_webview updated: ebb8b8b91f...5850566934
2
cmake
2
cmake
Submodule cmake updated: 002093a8d0...92e35993aa
Reference in New Issue
Block a user