]> git.sesse.net Git - kdenlive/blobdiff - src/guide.h
Fix Coverity #980699
[kdenlive] / src / guide.h
index 1265d135ff2ec6fa16799834f200e70a56b79657..bcedf3af71c2c16710aae7d870ecd4de734da4b7 100644 (file)
@@ -36,7 +36,7 @@ class Guide : public QGraphicsLineItem
 public:
     Guide(CustomTrackView *view, GenTime pos, QString label, double height);
     GenTime position() const;
-    void updateGuide(const GenTime newPos, const QString &comment = QString());
+    void updateGuide(const GenTime &newPos, const QString &comment = QString());
     QString label() const;
     CommentedTime info() const;
     void updatePos();