From: Jean-Baptiste Mardelle Date: Thu, 13 Oct 2011 00:47:29 +0000 (+0000) Subject: Fix regression introduced in last commit X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ef38aee9bdc6d4d976dd8c499622c5a9d0e9eea1;p=kdenlive Fix regression introduced in last commit svn path=/trunk/kdenlive/; revision=5958 --- diff --git a/src/projectitem.cpp b/src/projectitem.cpp index e7b942b3..d0b9999e 100644 --- a/src/projectitem.cpp +++ b/src/projectitem.cpp @@ -273,8 +273,8 @@ bool ProjectItem::isProxyReady() const bool ProjectItem::isProxyRunning() const { - PROXYSTATUS s = (PROXYSTATUS) data(0, ProxyRole).toInt(); - if (s == PROXYWAITING || s == CREATINGPROXY) return true; + int s = data(0, ProxyRole).toInt(); + if (s == PROXYWAITING || s == CREATINGPROXY || s > 0) return true; return false; }