diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:37:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:37:20 +0200 |
commit | 7b54b8e1c707d1b4d5efaa0ad814b1d78dd55aa2 (patch) | |
tree | f80536ac81c796c62ebcd59f1c2a7ba36eb070eb /spline-widget | |
parent | 973e8dc567463261330f685abaf0f5fd08d4f7d7 (diff) |
{spline,tracker/aruco}: simplify some casts
Diffstat (limited to 'spline-widget')
-rw-r--r-- | spline-widget/qfunctionconfigurator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/qfunctionconfigurator.cpp b/spline-widget/qfunctionconfigurator.cpp index 256bf45e..086d3703 100644 --- a/spline-widget/qfunctionconfigurator.cpp +++ b/spline-widget/qfunctionconfigurator.cpp @@ -132,7 +132,7 @@ void QFunctionConfigurator::drawFunction() if (!_config) return; - _function = QPixmap(_background); + _function = _background; QPainter painter(&_function); painter.setRenderHint(QPainter::Antialiasing, true); |