]> git.sesse.net Git - kdenlive/commitdiff
Fix regression introduced in last commit
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 13 Oct 2011 00:47:29 +0000 (00:47 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 13 Oct 2011 00:47:29 +0000 (00:47 +0000)
svn path=/trunk/kdenlive/; revision=5958

src/projectitem.cpp

index e7b942b30a9be9f37bc59c9b52569d8d4a6e13a4..d0b9999ec99b11dbc1fd9cdf2803d3d4535d8e68 100644 (file)
@@ -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;
 }