2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Show working dir in tray tooltip

This commit is contained in:
RadRussianRus
2020-03-08 04:21:59 +03:00
parent 1cf2a336b7
commit 74247e939c

View File

@@ -469,7 +469,7 @@ void MainWindow::setPositionInited() {
}
void MainWindow::attachToTrayIcon(not_null<QSystemTrayIcon*> icon) {
icon->setToolTip(AppName.utf16());
icon->setToolTip(AppName.utf16()+"\n"+cWorkingDir().chopped(1));
connect(icon, &QSystemTrayIcon::activated, this, [=](
QSystemTrayIcon::ActivationReason reason) {
Core::Sandbox::Instance().customEnterFromEventLoop([&] {