diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/jsondb-client/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp index 88235c97..f126e169 100644 --- a/tools/jsondb-client/client.cpp +++ b/tools/jsondb-client/client.cpp @@ -350,6 +350,9 @@ void Client::onRequestFinished() void Client::aboutToRemove(void) { + // remove the query from the request list + mRequests.takeFirst()->deleteLater(); + QtJsonDb::QJsonDbRequest *queryRequest = qobject_cast<QtJsonDb::QJsonDbRequest *>(sender()); Q_ASSERT(queryRequest != 0); if (!queryRequest) |