mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-04 17:05:23 -05: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
@ -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…
x
Reference in New Issue
Block a user