We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cbcd98 commit bbce150Copy full SHA for bbce150
mainwindow.cpp
@@ -237,7 +237,7 @@ void MainWindow::changeMetricInputUnits(bool metric)
237
238
const unsigned int doubleSpinBoxesLen = sizeof(doubleSpinBoxes) / sizeof(doubleSpinBoxes[0]);
239
const unsigned int spinBoxesLen = sizeof(spinBoxes) / sizeof(spinBoxes[0]);
240
- const double cfactor = metric ? 1/2.54 : 2.54;
+ const double cfactor = metric ? 25.4 : 1/25.4;
241
const char *distance = metric ? " mm" : " in" ;
242
const char *speed = metric ? " mm/min" : " in/min" ;
243
0 commit comments