diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index e06c9e17..4510781e 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -1133,10 +1133,9 @@ void MainWindow::updateRefDelayEdit(int delay) { ui->decoderNFRefDelayEdit->clear(); if(delay > 0) - { - QString str = QString::asprintf("%0.03f", delay/1000.0); - ui->decoderNFRefDelayEdit->insert(str); - } + ui->decoderNFRefDelayEdit->insert( + QString("%1").arg(delay/1000.0, 0, 'f', 3) + ); enableApplyButton(); } |