if (!QCoreApplication::closingDown())
This commit is contained in:
parent
32e3e6cf9c
commit
6ebff42e6d
@ -52,7 +52,7 @@ StorageThread::StorageThread(QObject *parent)
|
||||
|
||||
StorageThread::~StorageThread()
|
||||
{
|
||||
if (QCoreApplication::closingDown()) {
|
||||
if (!QCoreApplication::closingDown()) {
|
||||
QString name = m_db.connectionName();
|
||||
QSqlDatabase::removeDatabase(name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user