Skip to content

Commit

Permalink
Add information toast when connecting to tail tray from menu action
Browse files Browse the repository at this point in the history
  • Loading branch information
SneWs committed Nov 6, 2024
1 parent 7e1d2f4 commit 1974c37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TrayMenuManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ void TrayMenuManager::setupWellKnownActions() const {
});

connect(pConnect.get(), &QAction::triggered, this, [this](bool) {
pSysTray->showMessage("Please wait", "Connecting to your Tailscale network",
QSystemTrayIcon::MessageIcon::Information, 3000);

pTailRunner->start();
});

Expand Down

0 comments on commit 1974c37

Please sign in to comment.