mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
nit: remove unneccessary QString::number in arg param
This commit is contained in:
parent
882de6d36a
commit
a926c359ee
|
@ -275,7 +275,7 @@ void SplitInput::updateCancelReplyButton()
|
||||||
auto text =
|
auto text =
|
||||||
QStringLiteral("<img src=':/buttons/%1.svg' width='%2' height='%2' />")
|
QStringLiteral("<img src=':/buttons/%1.svg' width='%2' height='%2' />")
|
||||||
.arg(this->theme->isLightTheme() ? "cancelDark" : "cancel")
|
.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->getLabel().setText(text);
|
||||||
this->ui_.cancelReplyButton->setFixedHeight(int(12 * scale));
|
this->ui_.cancelReplyButton->setFixedHeight(int(12 * scale));
|
||||||
|
|
Loading…
Reference in a new issue