mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-27 20:36:49 -08:00
Fix crash on Linux when database is closed without hardware key present
* Fixes #11450
This commit is contained in:
1 parent
b29993abe5
commit
9a63e80386
1 file changed
+1
-1
@@ -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); });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user