]> git.sesse.net Git - kdenlive/blobdiff - src/definitions.h
add explicit keyword when necessary. Add const ref when necessary
[kdenlive] / src / definitions.h
index dd22fbb4f2f0715a0fbb61e835f54e896beb11bf..cb61e83cd318c347d42fd3d8f7b7bd830b674c8c 100644 (file)
@@ -265,7 +265,7 @@ class CommentedTime
 {
 public:
     CommentedTime(): t(GenTime(0)), type(0) {}
-    CommentedTime(const GenTime &time, QString comment, int markerType = 0)
+    CommentedTime(const GenTime &time, const QString& comment, int markerType = 0)
         : t(time), c(comment), type(markerType) { }
 
     QString comment()   const          {