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
parent fcbcf4039b
commit ceaf755ac6
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
9 changed files with 20 additions and 20 deletions

View file

@ -37,7 +37,7 @@
#include "ui_cookiesdialog.h"
#include "utils.h"
#define SETTINGS_KEY(name) "CookiesDialog/" name
#define SETTINGS_KEY(name) QStringLiteral("CookiesDialog/" name)
const QString KEY_SIZE = SETTINGS_KEY("Size");
const QString KEY_COOKIESVIEWSTATE = SETTINGS_KEY("CookiesViewState");