mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02: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:
@@ -99,10 +99,10 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
button->setGeometry(10+90*col,10+60*row,80,50);
|
||||
button->setWordWrap(true);
|
||||
button->setText(
|
||||
profile->stringValue("SoftKeys",QString().sprintf("Legend%d",n+1),
|
||||
QString().sprintf("Button %d",n+1)));
|
||||
profile->stringValue("SoftKeys",QString::asprintf("Legend%d",n+1),
|
||||
QString::asprintf("Button %d",n+1)));
|
||||
if(!(color_name=profile->stringValue("SoftKeys",
|
||||
QString().sprintf("Color%d",n+1),"")).
|
||||
QString::asprintf("Color%d",n+1),"")).
|
||||
isEmpty()) {
|
||||
color=QColor(color_name);
|
||||
QPalette pal=QPalette(color,palette().color(QPalette::Background));
|
||||
|
Reference in New Issue
Block a user