From 977547ff7f0b609291da56df32e5642d10c530cd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 14 Jun 2021 04:33:39 +0200 Subject: Properly close the previous video when navigating to another video, for example when doing ctrl+i in a comment and then playing a video --- include/QuickMedia.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 9e24f3c..8be6fa5 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -31,6 +31,7 @@ namespace QuickMedia { class MatrixChatPage; class VideoPage; class Tabs; + class VideoPlayer; enum class ImageViewMode { SINGLE, @@ -205,5 +206,6 @@ namespace QuickMedia { XEvent xev; std::filesystem::path file_manager_start_dir; std::string youtube_url; + std::unique_ptr video_player; }; } \ No newline at end of file -- cgit v1.2.3