Commit 4b423a1f authored by Jan Möbius's avatar Jan Möbius

More cppcheck warnings

parent 15cebf0c
......@@ -83,19 +83,17 @@ namespace QtWidgets {
QtWheel::QtWheel(QWidget* _parent,
const char* /* _name */ ,
Orientation _orientation)
: QFrame(_parent)
: QFrame(_parent),
angle_(0.0),
lastAngle_(0.0),
gear_(1.0),
gearShift_(0),
orientation_(_orientation),
ticks_(36),
marker_(false),
dragging_(false),
tracking_(false)
{
angle_ = 0.0;
lastAngle_ = 0.0;
gear_ = 1.0;
gearShift_ = 0;
// size_ will be set by redrawPixmap()
ticks_ = 36;
marker_ = false;
orientation_ = _orientation;
dragging_ = false;
tracking_ = true;
palette_ = palette();
palette_.setColor( QPalette::Dark, QColor(0,0,0));
......@@ -110,6 +108,7 @@ QtWheel::QtWheel(QWidget* _parent,
}
QtWheel::~QtWheel() {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment