Store window size on exit again

This commit is contained in:
Nicolas Werner 2022-01-29 18:10:42 +01:00
parent 909c11d2bb
commit 1d6d9e65af
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -307,7 +307,7 @@ main(int argc, char *argv[])
w.show();
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
// w.saveCurrentWindowSize();
w.saveCurrentWindowSize();
if (http::client() != nullptr) {
nhlog::net()->debug("shutting down all I/O threads & open connections");
http::client()->close(true);