summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-30 22:55:42 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-30 22:55:42 (GMT)
commit50afd26a657da319bd6e3cff09ac6c8dd44405bf (patch)
tree1c07b752402242cc80927099acd1a71f47891d99
parentc20ff1f36b8f5ba47e0358c4d63eed408c97b993 (diff)
downloadQt-50afd26a657da319bd6e3cff09ac6c8dd44405bf.zip
Qt-50afd26a657da319bd6e3cff09ac6c8dd44405bf.tar.gz
Qt-50afd26a657da319bd6e3cff09ac6c8dd44405bf.tar.bz2
unwarn
-rw-r--r--src/declarative/qml/qmlsqldatabase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlsqldatabase.cpp b/src/declarative/qml/qmlsqldatabase.cpp
index d11e3cb..5a7e94c 100644
--- a/src/declarative/qml/qmlsqldatabase.cpp
+++ b/src/declarative/qml/qmlsqldatabase.cpp
@@ -71,7 +71,7 @@ public:
str_forwardOnly = engine->toStringHandle(QLatin1String("forwardOnly")); // not in HTML5 (an optimization)
}
- QueryFlags queryProperty(const QScriptValue &object,
+ QueryFlags queryProperty(const QScriptValue &,
const QScriptString &name,
QueryFlags flags, uint *)
{
@@ -369,7 +369,7 @@ static QScriptValue qmlsqldatabase_open_sync(QScriptContext *context, QScriptEng
// Incompatible
THROW_SQL(VERSION_ERR,QmlEngine::tr("SQL: database version mismatch"));
}
- version = ini.value("Version").toString();
+ version = ini.value(QLatin1String("Version")).toString();
}
database.setDatabaseName(basename+QLatin1String(".sqlite"));
}