MCPcopy Create free account
hub / github.com/cc20110101/RedisView / slotActivated

Method slotActivated

src/RedisView/AppView/MainWindow.cpp:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void MainWindow::slotActivated(QSystemTrayIcon::ActivationReason reason) {
397 if(reason == QSystemTrayIcon::Trigger) {
398 if(this->isHidden())
399 this->show();
400 else
401 this->hide();
402 }
403}
404
405void MainWindow::closeEvent(QCloseEvent *e) {
406

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected