Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
}
if (m_unityItem && m_unityItem->countVisible()) {
- drawBadge(painter, iconR, QString().setNum(m_unityItem->count()));
+ drawBadge(painter, iconR, QString::number(m_unityItem->count()));
}
if (!showText && JobManager::self()->isEnabled() && m_currentProgress >= 0) {
if (m_aliases.contains(name)) {
QString alias = m_aliases[name];
- names << alias << alias + "." + QString().setNum(pid) << alias + "-" + QString().setNum(pid);
+ names << alias << alias + "." + QString::number(pid) << alias + "-" + QString::number(pid);
}
- names << name << name + "." + QString().setNum(pid) << name + "-" + QString().setNum(pid);
+ names << name << name + "." + QString::number(pid) << name + "-" + QString::number(pid);
foreach (QString n, names) {
if (m_interfaces.contains(n)) {