So adding a mutex is not good enough, you will have to either create a new connection ... static QHash<QThread, QSqlDatabase> DatabaseManager::s_instances; ...
確定! 回上一頁