We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f1f9ec + 29e888d commit 6e8bbaeCopy full SHA for 6e8bbae
widgets/graphview/graphview.cpp
@@ -157,7 +157,7 @@ void GraphView::mouseMoveEvent(QMouseEvent *e)
157
{
158
159
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
160
- QPoint delta{m_scrollbase.x() - e->position().x(), m_scrollbase.y() - e->position().y()};
+ QPoint delta{static_cast<int>(m_scrollbase.x() - e->position().x()), static_cast<int>(m_scrollbase.y() - e->position().y())};
161
#else
162
QPoint delta{m_scrollbase.x() - e->pos().x(), m_scrollbase.y() - e->pos().y()};
163
#endif
0 commit comments