mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 09:07:05 +02:00
Added ability to specify application name for Linux MPRIS.
This commit is contained in:
parent
d22601461a
commit
fdbf63229d
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ SystemMediaControlsManager::SystemMediaControlsManager(
|
|||
base::Platform::SystemMediaControls::PlaybackStatus;
|
||||
using Command = base::Platform::SystemMediaControls::Command;
|
||||
|
||||
_controls->setApplicationName(AppName.utf16());
|
||||
const auto inited = _controls->init(controller->widget());
|
||||
if (!inited) {
|
||||
LOG(("SystemMediaControlsManager failed to init."));
|
||||
|
|
Loading…
Add table
Reference in a new issue