Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
4b423a1f
Commit
4b423a1f
authored
Feb 07, 2017
by
Jan Möbius
Browse files
More cppcheck warnings
parent
15cebf0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs_required/ACG/QtWidgets/QtWheel.cc
View file @
4b423a1f
...
...
@@ -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
()
{
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment