diff options
| author | Anton <anton@picapica> | 2019-06-10 22:28:45 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-06-10 22:28:45 +0400 |
| commit | f60392515d0b3f1fb9e4f536a311b0d0e1bd11ff (patch) | |
| tree | 0cc17f76e7abb334739247a3698c39cd1c4c834d /pica-client/picasystray.cpp | |
| parent | ff31d3e26aeccae16e1373157d87230381a41847 (diff) | |
| download | pica-pica-f60392515d0b3f1fb9e4f536a311b0d0e1bd11ff.tar.gz pica-pica-f60392515d0b3f1fb9e4f536a311b0d0e1bd11ff.zip | |
pica-client: fixes for compatibility with Qt5 on OS X/C++11/clang
Diffstat (limited to 'pica-client/picasystray.cpp')
| -rw-r--r-- | pica-client/picasystray.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pica-client/picasystray.cpp b/pica-client/picasystray.cpp index 81e679d..a4a8995 100644 --- a/pica-client/picasystray.cpp +++ b/pica-client/picasystray.cpp @@ -21,7 +21,7 @@ #include "accounts.h" #ifdef PACKAGE_VERSION -#define VERSION_STRING "v"PACKAGE_VERSION +#define VERSION_STRING "v" PACKAGE_VERSION #else #define VERSION_STRING "" #endif @@ -44,7 +44,7 @@ PicaSysTray::PicaSysTray(QObject *parent) : systray_ = new QSystemTrayIcon(picapica_ico_sit); systray_->setContextMenu(systrayMenu_); - systray_->setToolTip("Pica Pica Messenger "VERSION_STRING); + systray_->setToolTip("Pica Pica Messenger " VERSION_STRING); systray_->show(); connect(systray_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(systray_activated(QSystemTrayIcon::ActivationReason))); @@ -66,7 +66,7 @@ void PicaSysTray::systray_activated(QSystemTrayIcon::ActivationReason r) void PicaSysTray::skynet_became_self_aware() { systray_->setIcon(picapica_ico_fly); - systray_->setToolTip(Accounts::GetCurrentAccount().name + " - Pica Pica Messenger "VERSION_STRING); + systray_->setToolTip(Accounts::GetCurrentAccount().name + " - Pica Pica Messenger " VERSION_STRING); } void PicaSysTray::skynet_lost_self_awareness() |
