diff options
| author | Ariya Hidayat <ariya.hidayat@trolltech.com> | 2009-03-03 09:56:45 +0100 |
|---|---|---|
| committer | Ariya Hidayat <ariya.hidayat@trolltech.com> | 2009-03-03 09:56:45 +0100 |
| commit | 2349f66a79b472a0875c6ad69652a2876ac1ddda (patch) | |
| tree | 57136943e3b514e2c46c3311e9cab4e9d3fe92ac /s-curve | |
| parent | 2d03efa01a3da5a82e2b1cc107be5b87e789a19c (diff) | |
Fix warning, prospective build fix for MSVC
Diffstat (limited to 's-curve')
| -rw-r--r-- | s-curve/s-curve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/s-curve/s-curve.cpp b/s-curve/s-curve.cpp index 3677ea6..aff548b 100644 --- a/s-curve/s-curve.cpp +++ b/s-curve/s-curve.cpp @@ -41,7 +41,7 @@ public: setFactor(4); } - void setFactor(int factor) { + void setFactor(qreal factor) { m_factor = factor; qreal max = 1 / (1 + exp(-factor)); m_offset = 1 / (1 + exp(factor)); |
