From: gg Date: Mon, 12 Jan 2026 22:11:50 +0000 (-0500) Subject: some fixes for lifecycle events? idk about this: X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=6efe476b9074477be6212082c4a2474eaa57147c;p=gamesguru%2Ffeather.git some fixes for lifecycle events? idk about this: [2026-01-12 17:09:59 W] (:0) Proxy: "127.0.0.1" 9050 [2026-01-12 17:09:59 W] (:0) endResetModel called on WalletKeysFilesModel(0x5691d3d6f440) without calling beginResetModel first [2026-01-12 17:10:01 W] (:0) endResetModel called on WalletKeysFilesModel(0x5691d3d6f440) without calling beginResetModel first [2026-01-12 17:10:01 W] (:0) endResetModel called on WalletKeysFilesProxyModel(0x5691d419eab0) without calling beginResetModel first [2026-01-12 17:10:02 C] (:0) WebSocket error: QAbstractSocket::ConnectionRefusedError [2026-01-12 17:10:07 W] (:0) Cannot register a job with KUiServerV2JobTracker without QGuiApplication::desktopFileName --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 2a9ca2db..b39bd88f 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1489,7 +1489,6 @@ void MainWindow::closeEvent(QCloseEvent *event) { // Wallet signal may fire after AppContext is gone, causing segv m_wallet->disconnect(); - this->disconnect(); this->saveGeo(); m_windowManager->closeWindow(this); diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index d3f72c48..5a6afb0b 100644 --- a/src/WindowManager.cpp +++ b/src/WindowManager.cpp @@ -164,6 +164,7 @@ void WindowManager::close() { void WindowManager::closeWindow(MainWindow *window) { qDebug() << "WindowManager: closing Window"; m_windows.removeOne(window); + this->buildTrayMenu(); // Move Wallet to a different thread for cleanup, so it doesn't block GUI thread window->m_wallet->moveToThread(m_cleanupThread); diff --git a/src/model/WalletKeysFilesModel.cpp b/src/model/WalletKeysFilesModel.cpp index fc85eaa9..5747ed98 100644 --- a/src/model/WalletKeysFilesModel.cpp +++ b/src/model/WalletKeysFilesModel.cpp @@ -47,7 +47,6 @@ void WalletKeysFilesModel::clear() { void WalletKeysFilesModel::refresh() { this->clear(); this->findWallets(); - endResetModel(); } void WalletKeysFilesModel::updateDirectories() {