mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 03:26:14 -04:00
Fix --pw-stdin by initializing text streams (#4912)
Co-authored-by: Sven qoreQyaS Grewe <sven.grewe@akquinet.de>
This commit is contained in:
parent
fd65a47d51
commit
3596fabc78
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ int main(int argc, char** argv)
|
|||
// buffer for native messaging, even if the specified file does not exist
|
||||
QTextStream out(stdout, QIODevice::WriteOnly);
|
||||
out << QObject::tr("Database password: ") << flush;
|
||||
Utils::setDefaultTextStreams();
|
||||
password = Utils::getPassword();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue