diff --git a/src/widgets/printwidget.cpp b/src/widgets/printwidget.cpp --- a/src/widgets/printwidget.cpp +++ b/src/widgets/printwidget.cpp @@ -95,7 +95,9 @@ newButton = new QPushButton(tr("Set")); connect(newButton, &QPushButton::clicked, this, [this] { - emit fanSpeedChanged(sbFanSpeed->value(), comboFanSelect->currentIndex()); + //Fan speed has a range of 0-255. + int speed = ((sbFanSpeed->value() * 255) / 100); + emit fanSpeedChanged(speed, comboFanSelect->currentIndex()); }); hBoxLayout = new QHBoxLayout;