]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
[PATCH by Ray Lehtiniemi] Do not return references to temporaries.
[kdenlive] / src / docclipbase.h
index a690377a998e76fd63636f39a6b6b14516fe8f72..03bc49ed49f19bd13ef60a1421150022e19201f4 100644 (file)
@@ -59,7 +59,7 @@ Q_OBJECT public:
     virtual ~ DocClipBase();
 
     /** returns the name of this clip. */
-    const QString name() const;
+    const QString name() const;
 
     /** Returns the description of this clip. */
     const QString description() const;
@@ -81,7 +81,7 @@ Q_OBJECT public:
 
     /** returns the duration of this clip */
     const GenTime & duration() const;
-    const GenTime &maxDuration() const;
+    const GenTime maxDuration() const;
     /** returns the duration of this clip */
     void setDuration(GenTime dur);