]> git.sesse.net Git - kdenlive/blobdiff - src/projectitem.cpp
User can now enable / disable proxy for each clip
[kdenlive] / src / projectitem.cpp
index ac2a52568d113d30846f0f03433aaacc9b95e83a..731c5a69bd359d1c5a9b4b9ad9e926e146676570 100644 (file)
@@ -244,3 +244,7 @@ void ProjectItem::setProxyStatus(int status)
     setData(0, ProxyRole, status);
 }
 
+bool ProjectItem::hasProxy() const
+{
+    return data(0, ProxyRole).toInt() == 2;
+}