summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-26 09:53:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-26 09:56:09 +0100
commitf432f7836a3ec2368260a51d352188e465d9c0cc (patch)
tree6e813389bb7192ebc44cbebbef595a3f8f0567da /spline/spline-widget.cpp
parentb7efdfe078804b9f0d67c509647b7a9f4dc6fa0a (diff)
CLion pedantry
Fix few of the inspection warnings from CLion that make any sense at all.
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index c578d70d..b797a907 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -534,7 +534,7 @@ void spline_widget::show_tooltip(const QPoint& pos, const QPointF& value_)
const bool is_fusion = QStringLiteral("fusion") == QApplication::style()->objectName();
const int add_x = (is_fusion ? 25 : 0), add_y = (is_fusion ? 15 : 0);
- const QPoint pix(int(pos.x()) + add_x, int(pos.y()) + add_y);
+ const QPoint pix(pos.x() + add_x, pos.y() + add_y);
QToolTip::showText(mapToGlobal(pix),
QStringLiteral("value: %1x%2").arg(x, 0, 'f', 2).arg(y, 0, 'f', 2),