diff --git a/src/VideoSyncFile.cpp b/src/VideoSyncFile.cpp index 6a7e1082e..bc3121ce8 100644 --- a/src/VideoSyncFile.cpp +++ b/src/VideoSyncFile.cpp @@ -39,13 +39,13 @@ bool VideoSyncFile::isVideoSync(QString name) } return false; } -VideoSyncFile::VideoSyncFile(QString filename, int &mode, Context *context) : - filename(filename), context(context), mode(mode) +VideoSyncFile::VideoSyncFile(QString filename, int& /*mode*/, Context *context) : + filename(filename), context(context) { reload(); } -VideoSyncFile::VideoSyncFile(Context *context) : context(context), mode(nomode) +VideoSyncFile::VideoSyncFile(Context *context) : context(context) { filename =""; } diff --git a/src/VideoSyncFile.h b/src/VideoSyncFile.h index 5dc376447..f68ddcd15 100644 --- a/src/VideoSyncFile.h +++ b/src/VideoSyncFile.h @@ -100,10 +100,6 @@ class VideoSyncFile // Metrics for this workout Context *context; - - private: - int &mode; - int nomode; }; #endif diff --git a/src/WorkoutWidgetItems.h b/src/WorkoutWidgetItems.h index c605f8c5b..56721a408 100644 --- a/src/WorkoutWidgetItems.h +++ b/src/WorkoutWidgetItems.h @@ -213,9 +213,6 @@ class WWBlockSelection : public WorkoutWidgetItem { // locate me on the parent widget in paint coordinates QRectF bounding(); - - private: - Context *context; }; // draws the W'bal curve