diff --git a/doorlockd/client/doorlock-client.cpp b/doorlockd/client/doorlock-client.cpp index 33ac2f7..5762f4e 100644 --- a/doorlockd/client/doorlock-client.cpp +++ b/doorlockd/client/doorlock-client.cpp @@ -155,6 +155,9 @@ int main(int argc, char** argv) // In normal operation, it never returns doorlock_client(hostname, port); + mainWindow->hide(); + mainWindow.reset(); + // Stop the QT application app.quit(); });