Skip to content

Commit 8d4e44a

Browse files
committed
Fixed warning QSqlDatabase requires a QCoreApplication under QT6.7
1 parent a2903f6 commit 8d4e44a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/MembershipQE.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,6 @@ ClubStatusQuery::ClubStatusQuery(QObject *parent) :
484484
ClubStatusQuery::~ClubStatusQuery()
485485
{
486486
FCT_IDENTIFICATION;
487-
{
488-
qCDebug(runtime) << "Closing connection to DB";
489-
QSqlDatabase db1 = QSqlDatabase::database(dbConnectionName);
490-
db1.close();
491-
}
492487

493488
QSqlDatabase::removeDatabase(dbConnectionName);
494489
}

0 commit comments

Comments
 (0)