]> git.sesse.net Git - kdenlive/commitdiff
Cleanup
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 31 Jan 2010 23:14:25 +0000 (23:14 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 31 Jan 2010 23:14:25 +0000 (23:14 +0000)
svn path=/trunk/kdenlive/; revision=4263

src/docclipbase.cpp

index 5d74dac371cf729212088ffd1c21e07a82616e90..3f886803e0540e630ec1fdbafa1220b410b78b94 100644 (file)
@@ -126,9 +126,7 @@ void DocClipBase::setZone(QPoint zone)
 
 QPoint DocClipBase::zone() const
 {
-    QPoint zone;
-    zone.setX(m_properties.value("zone_in", "0").toInt());
-    zone.setY(m_properties.value("zone_out", "50").toInt());
+    QPoint zone(m_properties.value("zone_in", "0").toInt(), m_properties.value("zone_out", "50").toInt());
     return zone;
 }