Commit 68d97969 authored by Lorenz Meier's avatar Lorenz Meier

Merge branch 'win_fixes' of github.com:Susurrus/qgroundcontrol into integration_merge_connstatus

parents 41134dfc 35bf2700
......@@ -231,7 +231,7 @@ void MainWindow::init()
joystick = new JoystickInput();
#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);
mouse = new Mouse6dofInput(mouseInput);
......
......@@ -112,7 +112,7 @@
*/
double PrimaryFlightDisplay_round(double value, int digits=0)
{
return floor(value * pow(10, digits) + 0.5) / pow(10, digits);
return floor(value * pow(10.0, digits) + 0.5) / pow(10.0, digits);
}
const int PrimaryFlightDisplay::tickValues[] = {10, 20, 30, 45, 60};
......
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