qbolt: show makefile-based version number in help dialog
This commit is contained in:
parent
96c05641bd
commit
f9b4cb71a5
2
main.go
2
main.go
@ -6,6 +6,8 @@ import (
|
|||||||
"github.com/mappu/miqt/qt"
|
"github.com/mappu/miqt/qt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var Version string = "v0.0.0-devel"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
_ = qt.NewQApplication(os.Args)
|
_ = qt.NewQApplication(os.Args)
|
||||||
|
@ -181,7 +181,7 @@ func (this *MainWindow) on_actionAbout_qbolt_triggered() {
|
|||||||
qt.QMessageBox_About(
|
qt.QMessageBox_About(
|
||||||
this.Widget(),
|
this.Widget(),
|
||||||
qt.QGuiApplication_ApplicationDisplayName(),
|
qt.QGuiApplication_ApplicationDisplayName(),
|
||||||
"<b>QBolt</b><br>Graphical interface for managing Bolt databases<br><br>"+
|
"<b>QBolt "+Version+"</b><br>Graphical interface for managing Bolt databases<br><br>"+
|
||||||
"- <a href='https://github.com/boltdb/bolt'>About BoltDB</a><br>"+
|
"- <a href='https://github.com/boltdb/bolt'>About BoltDB</a><br>"+
|
||||||
"- <a href='http://www.famfamfam.com/lab/icons/silk/'>FamFamFam "Silk" icon set</a><br>"+
|
"- <a href='http://www.famfamfam.com/lab/icons/silk/'>FamFamFam "Silk" icon set</a><br>"+
|
||||||
"- <a href='https://code.ivysaur.me/qbolt'>QBolt homepage</a><br>",
|
"- <a href='https://code.ivysaur.me/qbolt'>QBolt homepage</a><br>",
|
||||||
|
Loading…
Reference in New Issue
Block a user