mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
Fixed clazy warnings: QString::arg.
This commit is contained in:
@@ -58,7 +58,7 @@ namespace BlackCore
|
||||
|
||||
// No one else is using this voice room, so prepare to join
|
||||
m_voiceRoom = voiceRoom;
|
||||
QString callsign = QString("%1 (%2)").arg(m_callsign.toQString()).arg(m_userId);
|
||||
QString callsign = QString("%1 (%2)").arg(m_callsign.toQString(), m_userId);
|
||||
Vat_SetRoomInfo(m_voiceChannel.data(), qPrintable(voiceRoom.getHostname()), 3782,
|
||||
qPrintable(voiceRoom.getChannel()),
|
||||
qPrintable(callsign));
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user