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

Method exit

src/RedisView/AppView/MainWindow.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void MainWindow::exit() {
415 int ret = QMessageBox::question(this, tr("确认"), tr("是否要退出系统?"));
416 if(ret == QMessageBox::Yes) {
417 _exitFlag = true;
418 this->close();
419 } else {
420 _exitFlag = false;
421 }
422}
423
424void MainWindow::trayExit() {
425 _exitFlag = true;

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected