diff --git a/src/connection.cpp b/src/connection.cpp index b51895f..7d953d2 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -7,6 +7,7 @@ #include "ui_createzcashconfdialog.h" #include "rpc.h" #include "precompiled.h" +#include "version.h" ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) { this->main = main; @@ -200,7 +201,7 @@ void ConnectionLoader::createHushConf() { QTextStream out(&file); - out << "# Autogenerated by Hush SilentDragon https://hush.is\n"; + out << "# Autogenerated by Hush SilentDragon " << APP_VERSION << " https://hush.is\n"; out << "server=1\n"; out << "rpcuser=hush\n"; out << "rpcpassword=" % randomPassword() << "\n";