If the file is open, there must be an engine.
commit54069f7c2c235dc9e302f96a6111bf6cd34a766b
authorJoão Abecasis <joao@trolltech.com>
Wed, 13 Jan 2010 17:09:18 +0000 (13 18:09 +0100)
committerJoão Abecasis <joao@trolltech.com>
Mon, 18 Jan 2010 14:17:26 +0000 (18 15:17 +0100)
treea11c31d17fdd64120a495697151450216382da7e
parentc7b3f408f772d565666910cb4495a7057796b648
If the file is open, there must be an engine.

Don't try to allocate one for QFile::handle and QFile::flush since
they'll be useless there.

Reviewed-by: Markus Goetz
src/corelib/io/qfile.cpp