Fix a couple of clang compiler warnings:

-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
This commit is contained in:
wmayer
2019-06-23 15:19:12 +02:00
parent b9417938c4
commit 85270f5cd3
16 changed files with 64 additions and 23 deletions

View File

@@ -52,11 +52,9 @@
using namespace TechDrawGui;
QGTracker::QGTracker(QGraphicsScene* inScene, TrackerMode m):
m_width(0),
m_sleep(false),
m_qgParent(nullptr),
m_lastClick(QPointF(FLT_MAX,FLT_MAX)),
m_2clickPending(false)
m_lastClick(QPointF(FLT_MAX,FLT_MAX))
{
setTrackerMode(m);
if (inScene != nullptr) {