Reorganise main window title (#38)
Removes the excessive dash, which was intended to separate network name (empty string on mainnet) from rest of title, not for a version number.
Note:
- Main window title is always same as exit window title.
- Splash window title has no problems.
Closes #38 (closed)
Tested as follows:
-
src/qt/bitcoin-qt
, title is "Bitcoin Cash Node" -
src/qt/bitcoin-qt -regtest
, title is "Bitcoin Cash Node [regtest]" -
src/qt/bitcoin-qt -testnet
, title is "Bitcoin Cash Node [testnet]"
If wallet has a non-empty display name (no idea what that is or how to get that), it should be appended like "Bitcoin Cash Node [regtest] - WalletDisplayName".
Edited by freetrader