| 680 | } |
| 681 | |
| 682 | static void |
| 683 | qt_timer_fire(void) |
| 684 | { |
| 685 | if (iflags.idlecheckpoint) { |
| 686 | /* no input for 30 seconds, so let's take |
| 687 | * advantage and do a game checkpoint, |
| 688 | * then resume the wait. |
| 689 | */ |
| 690 | #if defined(INSURANCE) |
| 691 | save_currentstate(); |
| 692 | #endif /* INSURANCE */ |
| 693 | } |
| 694 | if (qt_input_timer->isActive()) |
| 695 | qt_input_timer->stop(); |
| 696 | } |
| 697 | |
| 698 | //void |
| 699 | //cancel_qt_input_timer(void) |
nothing calls this directly
no test coverage detected