Remove unused members and includes

This commit is contained in:
Michael Gregorius
2023-07-08 15:01:47 +02:00
parent e1b3a4415c
commit eeebf577ea
2 changed files with 0 additions and 9 deletions

View File

@@ -26,11 +26,8 @@
#ifndef LMMS_GUI_FLOAT_MODEL_EDITOR_BASE_H
#define LMMS_GUI_FLOAT_MODEL_EDITOR_BASE_H
#include <memory>
#include <QPixmap>
#include <QWidget>
#include <QPoint>
#include <QTextDocument>
#include "AutomatableModelView.h"
@@ -106,17 +103,12 @@ private:
static SimpleTextFloat * s_textFloat;
QTextDocument* m_tdRenderer;
std::unique_ptr<QPixmap> m_knobPixmap;
BoolModel m_volumeKnob;
FloatModel m_volumeRatio;
QPoint m_lastMousePos; //!< mouse position in last mouseMoveEvent
float m_leftOver;
bool m_buttonPressed;
QImage m_cache;
};

View File

@@ -62,7 +62,6 @@ SimpleTextFloat * FloatModelEditorBase::s_textFloat = nullptr;
FloatModelEditorBase::FloatModelEditorBase(QWidget * _parent, const QString & _name ) :
QWidget( _parent ),
FloatModelView( new FloatModel( 0, 0, 0, 1, nullptr, _name, true ), this ),
m_tdRenderer(nullptr),
m_volumeKnob( false ),
m_volumeRatio( 100.0, 0.0, 1000000.0 ),
m_buttonPressed( false )