]> git.sesse.net Git - kdenlive/blobdiff - src/projectitem.cpp
Fix regression introduced in last commit
[kdenlive] / 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;
 }