From d0e02c1af63cf96363ebb90eb047f3b3ffaf7eb1 Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 10 Mar 2013 16:39:02 +0000 Subject: new macro for protocol version as string literal; displaying protocol version in About dialog git-svn-id: svn://localhost/project_picapica/trunk@231 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/picaactioncenter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pica-client') diff --git a/pica-client/picaactioncenter.cpp b/pica-client/picaactioncenter.cpp index 8bedb0f..da8f0b0 100644 --- a/pica-client/picaactioncenter.cpp +++ b/pica-client/picaactioncenter.cpp @@ -3,6 +3,7 @@ #include "mainwindow.h" #include "skynet.h" #include +#include "../PICA_proto.h" #include @@ -28,7 +29,9 @@ void PicaActionCenter::about() QMessageBox mbx; mbx.setWindowIcon(picapica_ico_sit); mbx.setIconPixmap(picapica_ico_sit.pixmap(32)); - mbx.setText(tr("Pica Pica Messenger "VERSION_STRING"\n(c) 2012 Anton Sviridenko\n http://picapica.im\n\n\Contributors:\nDaniil Ustinov - bugfixes")); + mbx.setText(tr("Pica Pica Messenger "VERSION_STRING"\n(c) 2012 Anton Sviridenko\n\ +http://picapica.im\n\nContributors:\nDaniil Ustinov - bugfixes\n\n\ +protocol version " PICA_PROTO_VER_STRING)); mbx.exec(); } -- cgit v1.2.1