That's what I'm doing normally. But in this case I get the name of the dataBase from another database using a getter called getDatabase(). And with open() alone there is a high risk, that getDatabase() will return an empty string but open() will return true.
Ok, I can change my getter, but have expected, that Qt4 can do that alone.
Bookmarks