I am using Qt 4.6.2 and accessing a MySQL database. When I use QSqlDatabase::tables the list is of all tables in the all of the databases at the server.

Is this expected behaviour? Is there a way to limit the table list to the selected database?