2021-09-01 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-01 19:59:37 -04:00
parent 327ceacc06
commit ac594cc68b
298 changed files with 2880 additions and 2879 deletions

View File

@@ -180,7 +180,7 @@ void MainWidget::upShrinkData()
int x_shrink=d_shrink_factor_edit->text().toInt();
x_shrink=x_shrink*2;
d_shrink_factor_edit->setText(QString().sprintf("%d",x_shrink));
d_shrink_factor_edit->setText(QString::asprintf("%d",x_shrink));
UpdateWave();
}
@@ -191,7 +191,7 @@ void MainWidget::downShrinkData()
if(x_shrink>1) {
x_shrink=x_shrink/2;
d_shrink_factor_edit->setText(QString().sprintf("%d",x_shrink));
d_shrink_factor_edit->setText(QString::asprintf("%d",x_shrink));
UpdateWave();
}
}