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:
@@ -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([&] {
|
||||
|
Reference in New Issue
Block a user