mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user