diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 7c718e5..b596b06 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1641,7 +1641,7 @@ namespace QuickMedia { content_url = selected_item->url; content_title = selected_item->get_title(); load_video_error_check(); - } else if(event.key.code == sf::Keyboard::S && event.key.control) { + } else if(event.key.code == sf::Keyboard::C && event.key.control) { save_video_url_to_clipboard(); } } @@ -1663,7 +1663,7 @@ namespace QuickMedia { if(!cursor_visible) window.setMouseCursorVisible(true); cursor_visible = true; - } else if(pressed_keysym == XK_s && pressing_ctrl) { + } else if(pressed_keysym == XK_c && pressing_ctrl) { save_video_url_to_clipboard(); } } @@ -1681,8 +1681,7 @@ namespace QuickMedia { show_notification("Video player", "Failed to connect to mpv ipc after 10 seconds", Urgency::CRITICAL); current_page = previous_page; break; - } else if(update_err == VideoPlayer::Error::EXITED && (video_player->exit_status == 0 || video_player->exit_status == 4)) { - // The exit status is 0 when 'q' is used and the exist status is 4 when ctrl+c is used. + } else if(update_err == VideoPlayer::Error::EXITED && video_player->exit_status == 0) { fprintf(stderr, "mpv exited with status 0, the user most likely closed mpv with 'q'\n"); current_page = previous_page; break; |