diff options
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index b88715fc9..1d5b1d7f8 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -210,3 +210,9 @@ void ConfigureDiveComputerDialog::on_setDateAndTime_clicked() getDeviceData(); config->setDeviceDateAndTime(&device_data, QDateTime::currentDateTime()); } + +void ConfigureDiveComputerDialog::on_setBrightnessButton_clicked() +{ + getDeviceData(); + config->setDeviceBrightness(&device_data, ui->brightnessComboBox->currentIndex()); +} |