QtVFS: Attempt to fix compilation error on Yocto
The yocto compiler finds no matching function for some reason. Change-Id: I9fb7c00aeb3bd00b24bcf7513f68f6c8cffc5cbd Reviewed-by: BogDan Vatra <bogdan@kdab.com>bb10
parent
7620c7b26e
commit
d49c19b216
|
|
@ -145,7 +145,7 @@ int xOpen(sqlite3_vfs *svfs, sqlite3_filename zName, sqlite3_file *sfile,
|
|||
}
|
||||
|
||||
file->pMethods = &vfs->ioMethods;
|
||||
file->pFile = new File::QtFile{QString::fromUtf8(zName), bool(flags & SQLITE_OPEN_DELETEONCLOSE)};
|
||||
file->pFile = new File::QtFile(QString::fromUtf8(zName), bool(flags & SQLITE_OPEN_DELETEONCLOSE));
|
||||
if (!file->pFile->open(mode))
|
||||
return SQLITE_CANTOPEN;
|
||||
if (pOutFlags)
|
||||
|
|
|
|||
Loading…
Reference in New Issue