diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-08-22 15:57:38 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-08-22 15:57:38 +0000 |
| commit | 5816faa7bdef0d315724566bb0c74cf4cd28eb7a (patch) | |
| tree | 4b883aa1e30f7bf4646dc43992aaf41f2f04e054 | |
| parent | fcdc8f78586b9a99847f61ef6e50bd4b12e916cc (diff) | |
| download | pica-pica-5816faa7bdef0d315724566bb0c74cf4cd28eb7a.tar.gz pica-pica-5816faa7bdef0d315724566bb0c74cf4cd28eb7a.zip | |
version number in About messagebox
git-svn-id: svn://localhost/project_picapica/trunk@181 fb96df88-216d-11de-830c-f3023f12d8ac
| -rw-r--r-- | pica-client/picaactioncenter.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pica-client/picaactioncenter.cpp b/pica-client/picaactioncenter.cpp index 9a811dc..585a70c 100644 --- a/pica-client/picaactioncenter.cpp +++ b/pica-client/picaactioncenter.cpp @@ -20,10 +20,15 @@ PicaActionCenter::PicaActionCenter(QObject *parent) : void PicaActionCenter::about() { +#ifdef PACKAGE_VERSION +#define VERSION_STRING "v"PACKAGE_VERSION +#else +#define VERSION_STRING "" +#endif QMessageBox mbx; mbx.setWindowIcon(picapica_ico_sit); mbx.setIconPixmap(picapica_ico_sit.pixmap(32)); - mbx.setText(tr("(c) 2012 Anton Sviridenko")); + mbx.setText(tr("Pica Pica Messenger "VERSION_STRING"\n(c) 2012 Anton Sviridenko\n http://picapica.im")); mbx.exec(); } |
