mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Make use of QStringLiteral
Only changed instances that are initialized at program start.
This commit is contained in:
parent
fcbcf4039b
commit
ceaf755ac6
9 changed files with 20 additions and 20 deletions
|
@ -41,14 +41,14 @@
|
|||
|
||||
namespace
|
||||
{
|
||||
const QString RSS_URL("https://www.fosshub.com/software/feedqBittorent");
|
||||
const QString RSS_URL {QStringLiteral("https://www.fosshub.com/software/feedqBittorent")};
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
const QString OS_TYPE("Mac OS X");
|
||||
const QString OS_TYPE {QStringLiteral("Mac OS X")};
|
||||
#elif defined(Q_OS_WIN) && (defined(__x86_64__) || defined(_M_X64))
|
||||
const QString OS_TYPE("Windows x64");
|
||||
const QString OS_TYPE {QStringLiteral("Windows x64")};
|
||||
#else
|
||||
const QString OS_TYPE("Windows");
|
||||
const QString OS_TYPE {QStringLiteral("Windows")};
|
||||
#endif
|
||||
|
||||
QString getStringValue(QXmlStreamReader &xml);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue