From 3ac45dadb99e9cceebe6c2184111b183ba15bf00 Mon Sep 17 00:00:00 2001 From: DuanRay Date: Mon, 16 Oct 2023 14:42:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=BD=B1?= =?UTF-8?q?=E9=9F=B3=E6=92=AD=E6=94=BE=E8=BF=87=E7=A8=8B=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E5=A4=8D=E5=88=B6=E7=B2=98=E8=B4=B4=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=EF=BC=8C=E4=BC=9A=E6=9A=82=E5=81=9C=E6=92=AD=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...fix-file-operation-will-pause-video-play.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 0006-fix-file-operation-will-pause-video-play.patch diff --git a/0006-fix-file-operation-will-pause-video-play.patch b/0006-fix-file-operation-will-pause-video-play.patch new file mode 100644 index 0000000..4cac1a4 --- /dev/null +++ b/0006-fix-file-operation-will-pause-video-play.patch @@ -0,0 +1,15 @@ +diff --git a/nfs-mplayer-1.0.0/src/defaultgui.cpp b/nfs-mplayer-1.0.0/src/defaultgui.cpp +index bf8d29a..00e8d7c 100755 +--- a/nfs-mplayer-1.0.0/src/defaultgui.cpp ++++ b/nfs-mplayer-1.0.0/src/defaultgui.cpp +@@ -317,6 +317,10 @@ void DefaultGui::ActiveChanged(bool flag) + void DefaultGui::PropertiesChanged(QString service, QVariantMap map, QStringList list) + { + qDebug("DefaultGui::PropertiesChanged"); ++ ++ QString key = "SessionIsActive"; ++ if ( ! map.keys().contains(key)) ++ return; + + if(!map["SessionIsActive"].toBool()){ + pausePlay(); -- Gitee