diff options
| author | selsta <selsta@sent.at> | 2026-06-03 17:43:49 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2026-06-03 17:43:49 +0200 |
| commit | 16276615302f908f0c0f800699b877ba787c136c (patch) | |
| tree | cf6aea5eaa0e2de05882c6b330022b805400319e /src | |
| parent | 43f980c45d6f125b0e9026cff41b9ba302d52f77 (diff) | |
| download | monzero-gui-16276615302f908f0c0f800699b877ba787c136c.tar.gz monzero-gui-16276615302f908f0c0f800699b877ba787c136c.tar.xz monzero-gui-16276615302f908f0c0f800699b877ba787c136c.zip | |
libwalletqt: capture background sync password by value
Diffstat (limited to 'src')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Monero::Wallet::BackgroundSyncType>(background_sync_type), wallet_password.toStdString(), |
