| 185 | } |
| 186 | |
| 187 | void DrawWidget::initializeGL() |
| 188 | { |
| 189 | if (m_screenshotMode) |
| 190 | m_framework.GetBookmarkManager().EnableTestMode(true); |
| 191 | else |
| 192 | m_framework.LoadBookmarks(); |
| 193 | |
| 194 | MapWidget::initializeGL(); |
| 195 | |
| 196 | m_framework.GetRoutingManager().LoadRoutePoints([this](bool success) |
| 197 | { |
| 198 | if (success) |
| 199 | m_framework.GetRoutingManager().BuildRoute(); |
| 200 | }); |
| 201 | |
| 202 | if (m_screenshotMode) |
| 203 | m_screenshoter->Start(); |
| 204 | } |
| 205 | |
| 206 | bool DrawWidget::event(QEvent * event) |
| 207 | { |
nothing calls this directly
no test coverage detected