mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use QString literals
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually. PR #16561.
This commit is contained in:
parent
2c8447853b
commit
ab64ee872b
23 changed files with 104 additions and 108 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <QFile>
|
||||
|
||||
#include "base/global.h"
|
||||
#include "base/path.h"
|
||||
#include "base/unicodestrings.h"
|
||||
#include "base/utils/misc.h"
|
||||
|
@ -71,7 +72,7 @@ AboutDialog::AboutDialog(QWidget *parent)
|
|||
, tr("Bug Tracker:"));
|
||||
m_ui->labelAbout->setText(aboutText);
|
||||
|
||||
m_ui->labelMascot->setPixmap(Utils::Gui::scaledPixmap(Path(":/icons/mascot.png"), this));
|
||||
m_ui->labelMascot->setPixmap(Utils::Gui::scaledPixmap(Path(u":/icons/mascot.png"_qs), this));
|
||||
|
||||
// Thanks
|
||||
QFile thanksfile(":/thanks.html");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue