Make use of QStringLiteral

Only changed instances that are initialized at program start.
This commit is contained in:
Chocobo1
2018-05-17 09:50:58 +08:00
committed by sledgehammer999
parent ec37732e99
commit 9ff17c8d9d
9 changed files with 20 additions and 20 deletions

View File

@@ -30,7 +30,7 @@
#include "base/settingsstorage.h"
#define SETTINGS_KEY(name) "Network/Proxy/" name
#define SETTINGS_KEY(name) QStringLiteral("Network/Proxy/" name)
const QString KEY_ONLY_FOR_TORRENTS = SETTINGS_KEY("OnlyForTorrents");
const QString KEY_TYPE = SETTINGS_KEY("Type");
const QString KEY_IP = SETTINGS_KEY("IP");