nit: remove unneccessary QString::number in arg param

This commit is contained in:
Rasmus Karlsson 2024-01-17 10:52:21 +01:00
parent 882de6d36a
commit a926c359ee

View file

@ -275,7 +275,7 @@ void SplitInput::updateCancelReplyButton()
auto text =
QStringLiteral("<img src=':/buttons/%1.svg' width='%2' height='%2' />")
.arg(this->theme->isLightTheme() ? "cancelDark" : "cancel")
.arg(QString::number(int(12 * scale)));
.arg(int(12 * scale));
this->ui_.cancelReplyButton->getLabel().setText(text);
this->ui_.cancelReplyButton->setFixedHeight(int(12 * scale));