From 968dfef194590d8d4e0ce9f5113965f82da43ce7 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 11:16:37 -0500 Subject: [PATCH] Show version of SD that generates a config file --- src/connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";