| 138 | } |
| 139 | |
| 140 | bool SplashScreen::eventFilter(QObject * obj, QEvent * ev) { |
| 141 | if (ev->type() == QEvent::KeyPress) { |
| 142 | QKeyEvent *keyEvent = static_cast<QKeyEvent *>(ev); |
| 143 | if(keyEvent->text()[0] == 'q') { |
| 144 | m_node.startShutdown(); |
| 145 | } |
| 146 | } |
| 147 | return QObject::eventFilter(obj, ev); |
| 148 | } |
| 149 | |
| 150 | void SplashScreen::slotFinish(QWidget *mainWin) |
| 151 | { |
nothing calls this directly
no test coverage detected