summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-06-05 00:56:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-06-05 00:58:37 +0900
commit460ab20c46c798a51a4d0403011284bbc35290df (patch)
tree4c260fb070263dc14c907a52c0b6cad0e3669916
parent3b6f3a496f1d5cadee4c1ffed523625fcce70968 (diff)
downloadkplayer-460ab20c46c798a51a4d0403011284bbc35290df.tar.gz
kplayer-460ab20c46c798a51a4d0403011284bbc35290df.zip
Fixed FTBFS caused by commit e5dbf18. This resolves issue TDE/tde-packaging-gentoo#171.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kplayer/kplayernode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplayer/kplayernode.cpp b/kplayer/kplayernode.cpp
index d564353..9b5e1dd 100644
--- a/kplayer/kplayernode.cpp
+++ b/kplayer/kplayernode.cpp
@@ -3144,8 +3144,8 @@ void KPlayerDiskNode::autodetect (void)
connect (job, SIGNAL(result(TDEIO::Job*)), SLOT(statResult(TDEIO::Job*)));
return;
}
- else if ( ! m_fast_autodetect && m_url == "bluray://"
- || m_fast_autodetect && disk() -> type() == "BLURAY" && m_url != "bluray://" )
+ else if (m_fast_autodetect && disk() -> type() == "BLURAY" && m_url != "bluray://" )
+ m_url = "bluray://";
else if ( ! m_fast_autodetect && m_url == "data://"
|| m_fast_autodetect && disk() -> type() == "Video CD" && m_url != "vcd://" )
m_url = "vcd://";