From 2395dc0b84be0997d5ea1724f7f6bd0066c78b81 Mon Sep 17 00:00:00 2001
From: Ragaeeb Haq <7464039+ragaeeb@users.noreply.github.com>
Date: Thu, 1 May 2014 00:14:02 -0400
Subject: [PATCH] GCR v3.5.2.0: Issue 160: If user tries playing another
ayat from context menu while an ayat is already playing both of them are
showing the orange playing state
---
assets/SurahPage.qml | 4 +++-
assets/VersesListView.qml | 1 +
translations/Quran10.ts | 40 +++++++++++++++++++--------------------
3 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/assets/SurahPage.qml b/assets/SurahPage.qml
index d5601b67..4fb237f8 100644
--- a/assets/SurahPage.qml
+++ b/assets/SurahPage.qml
@@ -237,7 +237,9 @@ Page
++surahId;
} else {
--surahId;
- }
+ }
+
+ player.stop();
}
}
diff --git a/assets/VersesListView.qml b/assets/VersesListView.qml
index f05c2835..e91c32fc 100644
--- a/assets/VersesListView.qml
+++ b/assets/VersesListView.qml
@@ -57,6 +57,7 @@ ListView
function play(from, to)
{
+ clearPrevious();
previousPlayedIndex = -1;
recitation.downloadAndPlay(chapterNumber, from, to);
}
diff --git a/translations/Quran10.ts b/translations/Quran10.ts
index 43ca4cf8..b42263d5 100644
--- a/translations/Quran10.ts
+++ b/translations/Quran10.ts
@@ -536,22 +536,22 @@ You can also select an ayat above the current one to start there and end at the
-
+
-
+
-
+
-
+
@@ -688,7 +688,7 @@ https://www.youtube.com/watch?v=BDY8i9VQeZM
-
+
@@ -803,7 +803,7 @@ https://en.wikipedia.org/wiki/Shadda
-
+
@@ -927,7 +927,7 @@ May Allah reward you, and bless you and your family.
-
+
@@ -1000,63 +1000,63 @@ May Allah reward you, and bless you and your family.
VersesListView
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+