diff options
author | Bill King <bill.king@nokia.com> | 2009-08-31 05:24:05 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-08-31 05:24:05 (GMT) |
commit | 72f277c3340ad4c6182bd203d21832b9fdace78f (patch) | |
tree | 9e97993f92582d0f73cd6f40fe936b199ba6c213 /src/sql | |
parent | 8d636ab46ccfc3ab37083f947a7c184df47ddcb9 (diff) | |
download | Qt-72f277c3340ad4c6182bd203d21832b9fdace78f.zip Qt-72f277c3340ad4c6182bd203d21832b9fdace78f.tar.gz Qt-72f277c3340ad4c6182bd203d21832b9fdace78f.tar.bz2 |
Fixes compile for my last change.
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/drivers/sqlite/qsql_sqlite.cpp | 2 |
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 1b5c9c5..db7950d 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; |