]> git.sesse.net Git - kdenlive/blobdiff - src/doubleparameterwidget.h
Add proper support for 'float' parameter type in effect's drag widget (required for...
[kdenlive] / src / doubleparameterwidget.h
index 31ef445d28ea1f4991135928d003fcd9502049eb..52bad2101c8c47d9bdc266f143de892c02a8bfbb 100644 (file)
@@ -50,7 +50,7 @@ public:
     * @param comment A comment explaining the parameter. Will be shown for the tooltip.
     * @param suffix (optional) Suffix to display in spinbox
     * @param parent (optional) Parent Widget */
-    DoubleParameterWidget(const QString &name, int value, int min, int max, int defaultValue, const QString &comment, int id, const QString suffix = QString(), QWidget* parent = 0);
+    DoubleParameterWidget(const QString &name, double value, double min, double max, double defaultValue, const QString &comment, int id, const QString suffix = QString(), int decimals = 0, QWidget* parent = 0);
 
     /** @brief Gets the parameter's value. */
     int getValue();