mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
fix(BRIDGE-5): add tooltip to tray icon.
This commit is contained in:
@ -182,6 +182,7 @@ TrayIcon::TrayIcon()
|
|||||||
, notificationErrorIcon_(loadIconFromSVG(":/qml/icons/ic-alert.svg")) {
|
, notificationErrorIcon_(loadIconFromSVG(":/qml/icons/ic-alert.svg")) {
|
||||||
this->generateDotIcons();
|
this->generateDotIcons();
|
||||||
this->setContextMenu(menu_.get());
|
this->setContextMenu(menu_.get());
|
||||||
|
this->setToolTip(PROJECT_FULL_NAME);
|
||||||
|
|
||||||
connect(menu_.get(), &QMenu::aboutToShow, this, &TrayIcon::onMenuAboutToShow);
|
connect(menu_.get(), &QMenu::aboutToShow, this, &TrayIcon::onMenuAboutToShow);
|
||||||
connect(this, &TrayIcon::selectUser, &app().backend(), [](QString const& userID, bool forceShowWindow) {
|
connect(this, &TrayIcon::selectUser, &app().backend(), [](QString const& userID, bool forceShowWindow) {
|
||||||
|
|||||||
Reference in New Issue
Block a user