mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 06:49:46 -05:00
Fix crash on Linux when database is closed without hardware key present
* Fixes #11450
This commit is contained in:
parent
b29993abe5
commit
9a63e80386
@ -35,7 +35,7 @@ void DeviceListener::connectSignals(DEVICELISTENER_IMPL* listener)
|
||||
{
|
||||
connect(listener, &DEVICELISTENER_IMPL::devicePlugged, this, [&](bool state, void* ctx, void* device) {
|
||||
// Wait a few ms to prevent USB device access conflicts
|
||||
QTimer::singleShot(50, [&] { emit devicePlugged(state, ctx, device); });
|
||||
QTimer::singleShot(50, this, [&] { emit devicePlugged(state, ctx, device); });
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user