Fixed clazy warnings: QString::arg.

This commit is contained in:
Mat Sutcliffe
2018-12-19 18:51:02 +00:00
parent b4724996c6
commit db928c8b0e
2 changed files with 2 additions and 2 deletions

View File

@@ -430,7 +430,7 @@ namespace BlackGui
Q_ASSERT(!uncheckedIcon.isEmpty());
static const QString st = "QCheckBox::indicator { width: %1; height: %2; } QCheckBox::indicator:checked { image: url(%3); } QCheckBox::indicator:unchecked { image: url(%4); }";
return st.arg(width).arg(height).arg(checkedIcon).arg(uncheckedIcon);
return st.arg(width, height, checkedIcon, uncheckedIcon);
}
QString CStyleSheetUtility::concatStyles(const QString &style1, const QString &style2)