mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Use QString literals
This patch covers src/app and src/base folders.
Follow up of ab64ee872b.
This commit is contained in:
parent
ab64ee872b
commit
f0dd7b7dae
38 changed files with 771 additions and 764 deletions
|
|
@ -37,12 +37,14 @@
|
|||
#include <Qt>
|
||||
#include <QtContainerFwd>
|
||||
|
||||
#include "base/global.h"
|
||||
|
||||
namespace Utils::String
|
||||
{
|
||||
QString wildcardToRegexPattern(const QString &pattern);
|
||||
|
||||
template <typename T>
|
||||
T unquote(const T &str, const QString "es = QChar('"'))
|
||||
T unquote(const T &str, const QString "es = u"\""_qs)
|
||||
{
|
||||
if (str.length() < 2) return str;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue