mirror of
https://github.com/YACReader/yacreader
synced 2025-11-15 06:22:49 -05:00
Fix data base removal in FolderModel
This commit is contained in:
@ -729,10 +729,13 @@ void FolderModelProxy::setupFilteredModelData()
|
|||||||
QLOG_ERROR() << "Unable to parse query: " << e.what();
|
QLOG_ERROR() << "Unable to parse query: " << e.what();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QSqlDatabase::removeDatabase(db.connectionName());
|
|
||||||
|
connectionName = db.connectionName();
|
||||||
|
|
||||||
endResetModel();
|
endResetModel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSqlDatabase::removeDatabase(connectionName);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FolderModelProxy::clear()
|
void FolderModelProxy::clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user