aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp')
-rw-r--r--multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp b/multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp
new file mode 100644
index 000000000000..80ee5567a937
--- /dev/null
+++ b/multimedia/kmplayer/files/patch-src::kmplayerpartbase.cpp
@@ -0,0 +1,11 @@
+--- src/kmplayerpartbase.cpp.orig Mon Jul 19 23:52:11 2004
++++ src/kmplayerpartbase.cpp Tue Jul 20 00:01:41 2004
+@@ -716,7 +716,7 @@
+ }
+
+ QString KMPlayerSource::mime () const {
+- return m_currenturl == m_refurls.end () ? QString () : m_currenturl->mime;
++ return (m_refurls.end () == m_currenturl) ? QString () : m_currenturl->mime;
+ }
+
+ void KMPlayerSource::setMime (const QString & m) {