stylesheet initialization improved
This commit is contained in:
parent
466f739b3a
commit
08ec24fb7c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre
|
|||
|
||||
QPalette palette;
|
||||
QColor baseColor = palette.base().color();
|
||||
ui->saProfile->setStyleSheet("QWidget#saProfileContent{background-color: rgb(" + QString::number(baseColor.red()) + "," + QString::number(baseColor.green()) + "," + QString::number(baseColor.blue()) + ")}");
|
||||
ui->saProfile->setStyleSheet(QString("QWidget#saProfileContent{background-color: rgb(%1, %2, %3)}").arg(QString::number(baseColor.red()),QString::number(baseColor.green()),QString::number(baseColor.blue())));
|
||||
}
|
||||
|
||||
ProfileInterface::~ProfileInterface()
|
||||
|
|
Loading…
Reference in a new issue