mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Use QString literals
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually. PR #16561.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include <QHostAddress>
|
||||
#include <QLocale>
|
||||
|
||||
#include "base/global.h"
|
||||
#include "base/logger.h"
|
||||
#include "base/preferences.h"
|
||||
#include "base/profile.h"
|
||||
@@ -43,8 +44,8 @@
|
||||
#include "geoipdatabase.h"
|
||||
|
||||
const QString DATABASE_URL = QStringLiteral("https://download.db-ip.com/free/dbip-country-lite-%1.mmdb.gz");
|
||||
const char GEODB_FOLDER[] = "GeoDB";
|
||||
const char GEODB_FILENAME[] = "dbip-country-lite.mmdb";
|
||||
const QString GEODB_FOLDER = u"GeoDB"_qs;
|
||||
const QString GEODB_FILENAME = u"dbip-country-lite.mmdb"_qs;
|
||||
|
||||
using namespace Net;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user