소스 검색

Always use play_pause for Windows media keys.

Ian Walton 4 년 전
부모
커밋
2a4066ba88
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/taskbar/TaskbarComponentWin.cpp

+ 2 - 2
src/taskbar/TaskbarComponentWin.cpp

@@ -424,11 +424,11 @@ HRESULT TaskbarComponentWin::buttonPressed(ISystemMediaTransportControls* sender
   switch (button)
   {
     case SystemMediaTransportControlsButton::SystemMediaTransportControlsButton_Play:
-      InputComponent::Get().sendAction("play");
+      InputComponent::Get().sendAction("play_pause");
       QLOG_DEBUG() << "Received play button press";
       break;
     case SystemMediaTransportControlsButton::SystemMediaTransportControlsButton_Pause:
-      InputComponent::Get().sendAction("pause");
+      InputComponent::Get().sendAction("play_pause");
       QLOG_DEBUG() << "Received pause button press";
       break;
     case SystemMediaTransportControlsButton::SystemMediaTransportControlsButton_Next: