]> granicus.if.org Git - nethack/commitdiff
Qt4: Add NetHack version to player selection popup
authorPasi Kallinen <paxed@alt.org>
Thu, 12 Oct 2017 09:33:04 +0000 (12:33 +0300)
committerPasi Kallinen <paxed@alt.org>
Thu, 12 Oct 2017 09:33:04 +0000 (12:33 +0300)
win/Qt4/qt4plsel.cpp

index 56b8849bdcc1794ea7fd56e197d6247a154cd9d0..ea792f8abd065a666dc10fd0819917bb004c6179 100644 (file)
@@ -6,6 +6,7 @@
 
 extern "C" {
 #include "hack.h"
+#include "date.h"
 }
 #undef Invisible
 #undef Warning
@@ -37,7 +38,7 @@ namespace nethack_qt4 {
 void centerOnMain( QWidget* w );
 // end temporary
 
-static const char nh_attribution[] = "<center><big>NetHack</big>"
+static const char nh_attribution[] = "<center><big>NetHack " VERSION_STRING "</big>"
        "<br><small>by the NetHack DevTeam</small></center>";
 
 class NhPSListViewItem : public QTableWidgetItem {