MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / onTrayIconActivated

Method onTrayIconActivated

src/MainWindow.cpp:467–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467void MainWindow::onTrayIconActivated()
468{
469 setVisible(!this->isVisible());
470
471 if (isVisible())
472 {
473 raiseWindow();
474 }
475
476 // Hide tray icon if disabled and MainWin is visible (for cmdline force switch)
477 if (!AppConfig::instance().get<bool>(AppConfig::TrayIconEnabled) && this->isVisible())
478 {
479 _trayIcon->setTrayVisible(false);
480 }
481}
482
483void MainWindow::onConvolverInfoChanged(const ConvolverInfoEventArgs& args)
484{

Callers

nothing calls this directly

Calls 2

isVisibleMethod · 0.80
setTrayVisibleMethod · 0.80

Tested by

no test coverage detected