From 50f9faac0f7bc9887ada87690a17753dab61a66c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 20 Oct 2024 19:53:50 -0400 Subject: [PATCH] Remove updateTimer from Vector3Edit It attempts to call a function to stop it, even though we never initialize it. --- common/include/vec3edit.h | 2 -- common/src/vec3edit.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/common/include/vec3edit.h b/common/include/vec3edit.h index 02afc88..7450ec3 100644 --- a/common/include/vec3edit.h +++ b/common/include/vec3edit.h @@ -15,7 +15,6 @@ class NOVUSCOMMON_EXPORT Vector3Edit : public QWidget public: explicit Vector3Edit(glm::vec3 &vec, QWidget *parent = nullptr); - ~Vector3Edit() override; void setVector(glm::vec3 &vec); @@ -28,5 +27,4 @@ private: } spinBoxes; glm::vec3 &vec; - QTimer *updateTimer = nullptr; }; diff --git a/common/src/vec3edit.cpp b/common/src/vec3edit.cpp index fe2788c..0946703 100644 --- a/common/src/vec3edit.cpp +++ b/common/src/vec3edit.cpp @@ -47,11 +47,6 @@ Vector3Edit::Vector3Edit(glm::vec3 &vec, QWidget *parent) }); } -Vector3Edit::~Vector3Edit() -{ - updateTimer->stop(); -} - void Vector3Edit::setVector(glm::vec3 &vec) { this->vec = vec;