chore: add back deprecation warnings and disable all API deprecated before 6.0
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
5fee4e3f8b
commit
2271a05b19
9 changed files with 15 additions and 12 deletions
|
@ -76,8 +76,8 @@ void SkinOpenGLWindow::mousePressEvent(QMouseEvent* e)
|
|||
void SkinOpenGLWindow::mouseMoveEvent(QMouseEvent* event)
|
||||
{
|
||||
if (m_isMousePressed) {
|
||||
int dx = event->x() - m_mousePosition.x();
|
||||
int dy = event->y() - m_mousePosition.y();
|
||||
int dx = event->position().x() - m_mousePosition.x();
|
||||
int dy = event->position().y() - m_mousePosition.y();
|
||||
|
||||
m_yaw += dx * 0.5f;
|
||||
m_pitch += dy * 0.5f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue