| 931 | return m_active; |
| 932 | } |
| 933 | void start(std::function<void(Window *)> callback) |
| 934 | { |
| 935 | Q_ASSERT(!m_active); |
| 936 | m_active = true; |
| 937 | m_callback = callback; |
| 938 | input()->keyboard()->update(); |
| 939 | input()->touch()->cancel(); |
| 940 | } |
| 941 | void start(std::function<void(const QPoint &)> callback) |
| 942 | { |
| 943 | Q_ASSERT(!m_active); |
no test coverage detected