summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PICA_proto.h1
-rw-r--r--pica-client/picaactioncenter.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index 32c817a..46ca178 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -10,6 +10,7 @@
#define PICA_C2CPROTO_VER_HIGH 0
#define PICA_C2CPROTO_VER_LOW 1
+#define PICA_PROTO_CLIENT_VER_STRING PICA_STRINGIFY2(PICA_C2CPROTO_VER_HIGH, PICA_C2CPROTO_VER_LOW)
#define PICA_PROTO_VER_STRING PICA_STRINGIFY2(PICA_PROTO_VER_HIGH, PICA_PROTO_VER_LOW)
#define PICA_STRINGIFY2(H, L) PICA_STRINGIFY(H, L)
#define PICA_STRINGIFY(H, L) #H#L
diff --git a/pica-client/picaactioncenter.cpp b/pica-client/picaactioncenter.cpp
index 1aa09ec..b6b228a 100644
--- a/pica-client/picaactioncenter.cpp
+++ b/pica-client/picaactioncenter.cpp
@@ -46,7 +46,8 @@ void PicaActionCenter::about()
mbx.setTextFormat(Qt::RichText);
mbx.setText(tr("<b>Pica Pica Messenger "VERSION_STRING"<br>(c) 2012 - 2014 Anton Sviridenko</b><br>\
<a href=http://picapica.im>http://picapica.im</a><br><br>Contributors:<br>Daniil Ustinov - bugfixes<br>EXL - bugfixes<br><br>\
-protocol version " PICA_PROTO_VER_STRING));
+protocol version " PICA_PROTO_VER_STRING "<br>"
+ "client protocol version " PICA_PROTO_CLIENT_VER_STRING));
mbx.exec();
}