summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-08-31 15:24:05 +1000
committerBill King <bill.king@nokia.com>2009-08-31 15:24:05 +1000
commit72f277c3340ad4c6182bd203d21832b9fdace78f (patch)
tree9e97993f92582d0f73cd6f40fe936b199ba6c213 /src/sql
parent8d636ab46ccfc3ab37083f947a7c184df47ddcb9 (diff)
Fixes compile for my last change.
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/drivers/sqlite/qsql_sqlite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp
index 1b5c9c50de..db7950d9cd 100644
--- a/src/sql/drivers/sqlite/qsql_sqlite.cpp
+++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp
@@ -517,7 +517,7 @@ static int qGetSqliteOpenMode(QString opts)
{
opts.remove(QLatin1Char(' '));
foreach(QString option, opts.split(QLatin1Char(';'))) {
- if (option == QLatin1String("QSQLITE_OPEN_READONLY")))
+ if (option == QLatin1String("QSQLITE_OPEN_READONLY"))
return SQLITE_OPEN_READONLY;
}
return SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;