]> git.sesse.net Git - kdenlive/blobdiff - src/profilesdialog.h
Use const'ref.
[kdenlive] / src / profilesdialog.h
index c83cb4638b45619f313bb02df8c6c0960197368c..18e26fe1c7906dbfc0c3e857325adb2d1f86dfb5 100644 (file)
@@ -32,7 +32,7 @@ class ProfilesDialog : public QDialog
 public:
     ProfilesDialog(QWidget * parent = 0);
     /** @brief Using this constructor, the dialog only allows editing one profile. */
-    ProfilesDialog(QString profilePath, QWidget * parent = 0);
+    explicit ProfilesDialog(QString profilePath, QWidget * parent = 0);
 
     void fillList(const QString selectedProfile = QString());
     static QMap< QString, QString > getSettingsForProfile(const QString profileName);
@@ -67,7 +67,7 @@ public:
      *  @param profile The profile that gives width & height
      *  @param eval The string to be evaluated, for example: "%width / 2"
      *  @return the evaluated value */
-    static double getStringEval(const MltVideoProfile &profile, QString eval);
+    static double getStringEval(const MltVideoProfile &profile, QString eval, QPoint frameSize = QPoint());
 
     /** @brief Get the descriptive text for given colorspace code (defined by MLT)
      *  @param colorspace An int as defined in mlt_profile.h