diff options
| author | bitflash <dev@bitflash.network> | 2026-08-19 10:00:29 -0300 |
|---|---|---|
| committer | bitflash <dev@bitflash.network> | 2026-08-19 10:00:29 -0300 |
| commit | 2bf8941be913c113e90a62094e6b69848a87ed38 (patch) | |
| tree | f3a0a59ff357f5c6d76e5d06befe4c7e9c274b83 /src/headers_core.h | |
| parent | d4c49085a10c0f7c3f5a1dcc72184938dca38fea (diff) | |
gui: show the real version in About, add the website link
The About dialog had "v1.1.0" hardcoded and no home for the release
version, so it drifted. Add a single BITFLASH_VERSION_STRING in
headers_core.h (bumped at release, unrelated to the protocol nVersion
fields) and show it in About -- now v1.2.20.
Fill the empty line under the version with a clickable
https://bitflash.network that opens in the browser (ShellExecute on
Windows, xdg-open elsewhere), and grow the dialog to fit it.
Diffstat (limited to 'src/headers_core.h')
| -rw-r--r-- | src/headers_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/headers_core.h b/src/headers_core.h index 6c0c602..f890c2f 100644 --- a/src/headers_core.h +++ b/src/headers_core.h | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | // Core node headers -- no GUI framework dependency. | 1 | // Core node headers -- no GUI framework dependency. |
| 2 | // Included by gui.cpp and all non-GUI source files. | 2 | // Included by gui.cpp and all non-GUI source files. |
| 3 | 3 | ||
| 4 | // The one place the human-readable release version lives -- bump it at release. | ||
| 5 | // It is what the About dialog shows. Protocol and transaction versions elsewhere | ||
| 6 | // (nVersion fields) are unrelated and must not be changed for a release. | ||
| 7 | #define BITFLASH_VERSION_STRING "1.2.20" | ||
| 8 | |||
| 4 | #ifdef _MSC_VER | 9 | #ifdef _MSC_VER |
| 5 | #pragma warning(disable:4786) | 10 | #pragma warning(disable:4786) |
| 6 | #endif | 11 | #endif |