mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 22:17:39 +03:00
Fix clipboard timeout.
This commit is contained in:
parent
6cd65ae9a7
commit
20c95737cb
2 changed files with 1 additions and 3 deletions
|
@ -55,7 +55,7 @@ void Clipboard::setText(const QString& text)
|
|||
if (config()->get("security/clearclipboard").toBool()) {
|
||||
int timeout = config()->get("security/clearclipboardtimeout").toInt();
|
||||
if (timeout > 0) {
|
||||
m_timer->start(timeout);
|
||||
m_timer->start(timeout * 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -292,7 +292,6 @@ void DatabaseWidget::copyUsername()
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO: set clearTimeout
|
||||
clipboard()->setText(currentEntry->username());
|
||||
}
|
||||
|
||||
|
@ -304,7 +303,6 @@ void DatabaseWidget::copyPassword()
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO: set clearTimeout
|
||||
clipboard()->setText(currentEntry->password());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue