From 16276615302f908f0c0f800699b877ba787c136c Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 3 Jun 2026 17:43:49 +0200 Subject: libwalletqt: capture background sync password by value --- src/libwalletqt/Wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index a5ac6925..d9720dca 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -536,7 +536,7 @@ void Wallet::setupBackgroundSync(const Wallet::BackgroundSyncType background_syn pauseRefresh(); // run inside scheduler because of lag when stopping/starting refresh - m_scheduler.run([this, refreshEnabled, background_sync_type, &wallet_password] { + m_scheduler.run([this, refreshEnabled, background_sync_type, wallet_password] { m_walletImpl->setupBackgroundSync( static_cast(background_sync_type), wallet_password.toStdString(), -- cgit v1.2.3