while (query.next()) {
QString tableName = query.value(0).toString();
- if (tableName.startsWith("sqlite_") || tableName == "attributes") continue;
+ if (tableName.startsWith("sqlite_") || tableName == QLatin1String("attributes")) continue;
QString dropSQL = "delete from " + tableName;
QSqlQuery query2(db);
if (!query2.exec(dropSQL))
#ifdef APP_DASH
QSettings settings;
QString definitionName = settings.value("definition", "360p").toString();
- if (definitionName == "1080p") {
+ if (definitionName == QLatin1String("1080p") {
QRegExp dashManifestRe("\"dashmpd\":\\s*\"([^\"]+)\"");
if (dashManifestRe.indexIn(html) != -1) {
dashManifestUrl = dashManifestRe.cap(1);