Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
68d97969
Commit
68d97969
authored
Jul 04, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'win_fixes' of github.com:Susurrus/qgroundcontrol into integration_merge_connstatus
parents
41134dfc
35bf2700
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MainWindow.cc
src/ui/MainWindow.cc
+1
-1
PrimaryFlightDisplay.cpp
src/ui/PrimaryFlightDisplay.cpp
+1
-1
No files found.
src/ui/MainWindow.cc
View file @
68d97969
...
@@ -231,7 +231,7 @@ void MainWindow::init()
...
@@ -231,7 +231,7 @@ void MainWindow::init()
joystick
=
new
JoystickInput
();
joystick
=
new
JoystickInput
();
#ifdef MOUSE_ENABLED_WIN
#ifdef MOUSE_ENABLED_WIN
emit
initStatusChanged
(
tr
(
"Initializing 3D mouse interface"
,
Qt
::
AlignLeft
|
Qt
::
AlignBottom
,
QColor
(
62
,
93
,
141
));
emit
initStatusChanged
(
tr
(
"Initializing 3D mouse interface"
)
,
Qt
::
AlignLeft
|
Qt
::
AlignBottom
,
QColor
(
62
,
93
,
141
));
mouseInput
=
new
Mouse3DInput
(
this
);
mouseInput
=
new
Mouse3DInput
(
this
);
mouse
=
new
Mouse6dofInput
(
mouseInput
);
mouse
=
new
Mouse6dofInput
(
mouseInput
);
...
...
src/ui/PrimaryFlightDisplay.cpp
View file @
68d97969
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
*/
*/
double
PrimaryFlightDisplay_round
(
double
value
,
int
digits
=
0
)
double
PrimaryFlightDisplay_round
(
double
value
,
int
digits
=
0
)
{
{
return
floor
(
value
*
pow
(
10
,
digits
)
+
0.5
)
/
pow
(
1
0
,
digits
);
return
floor
(
value
*
pow
(
10
.0
,
digits
)
+
0.5
)
/
pow
(
10.
0
,
digits
);
}
}
const
int
PrimaryFlightDisplay
::
tickValues
[]
=
{
10
,
20
,
30
,
45
,
60
};
const
int
PrimaryFlightDisplay
::
tickValues
[]
=
{
10
,
20
,
30
,
45
,
60
};
...
...
Write
Preview
Markdown
is supported
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