From cf085b54e8b5b550cb05b84ef0fa6456f5fda7ab Mon Sep 17 00:00:00 2001 From: dorian Date: Wed, 27 Mar 2019 22:23:34 +0100 Subject: [PATCH] - cleanup --- headers/speedtimer.h | 5 +---- sources/speedtimer.cpp | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/headers/speedtimer.h b/headers/speedtimer.h index 766b34a..6d919e9 100644 --- a/headers/speedtimer.h +++ b/headers/speedtimer.h @@ -36,9 +36,6 @@ public slots: double getCurrTime(); QString getText(); - //void handleStartpadTrigger(); - //void handleToppadTrigger(); - //helper functions void delay(int mSecs); @@ -47,5 +44,5 @@ public slots: private: QDateTime *date; }; -extern SpeedTimer * pGlobalSpeedTimer; + #endif // SPEEDTIMER_H diff --git a/sources/speedtimer.cpp b/sources/speedtimer.cpp index 8493505..bfeba68 100644 --- a/sources/speedtimer.cpp +++ b/sources/speedtimer.cpp @@ -1,7 +1,5 @@ #include "headers/speedtimer.h" -SpeedTimer * pGlobalSpeedTimer = nullptr; - SpeedTimer::SpeedTimer(QObject *parent) : QObject(parent) { @@ -111,7 +109,6 @@ QString SpeedTimer::getState(){ case CANCELLED: return("CANCELLED"); } - return("ERROR"); } double SpeedTimer::getCurrTime() {