]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.h
[PATCH by Ray Lehtiniemi] Do not return references to temporaries.
[kdenlive] / src / kdenlivedoc.h
index 11456d04d80dfb75a86fbb77cb6d746537148075..69b615d065b1fd91a3a259364fef7d86726e0c5c 100644 (file)
@@ -83,7 +83,7 @@ Q_OBJECT public:
     const QString description() const;
     void setUrl(KUrl url);
     void setProfilePath(QString path);
-    const QString &getFreeClipId();
+    const QString getFreeClipId();
     /** does the document need saving */
     bool isModified() const;
     /** Returns project folder, used to store project files (titles, effects,...) */
@@ -168,7 +168,7 @@ signals:
     void updateClipDisplay(const QString&);
     void deleteTimelineClip(const QString&);
     void progressInfo(const QString &, int);
-    /** emited when the document state has been modified (= needs saving or not) */
+    /** emitted when the document state has been modified (= needs saving or not) */
     void docModified(bool);
     void selectLastAddedClip(const QString &);
     void guidesUpdated();