diff --git a/src/main.cpp b/src/main.cpp index ee8582b1..a2c75746 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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(); }