mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Use QString literals
This patch covers src/gui and some leftovers from previous commit.
This commit is contained in:
@@ -130,12 +130,12 @@ void ShutdownConfirmDialog::initText()
|
||||
break;
|
||||
}
|
||||
|
||||
m_msg += '\n';
|
||||
m_msg += u'\n';
|
||||
updateText();
|
||||
}
|
||||
|
||||
void ShutdownConfirmDialog::updateText()
|
||||
{
|
||||
QString t = tr("You can cancel the action within %1 seconds.").arg(QString::number(m_timeout)) + '\n';
|
||||
QString t = tr("You can cancel the action within %1 seconds.").arg(QString::number(m_timeout)) + u'\n';
|
||||
m_ui->shutdownText->setText(m_msg + t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user