Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all
Unified · Split
| @@ -330,13 +330,19 @@ Menu::Menu() : · 329 unmodified lines | ||
| 330 | 330 | appInstance->getAvatar(), |
| 331 | 331 | SLOT(setWantColor(bool))); |
| 332 | 332 | |
| 333 | − addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableLowRes, NULL, NULL); | |
| 334 | − | |
| 335 | − // debugMenu->addAction("Disable Lower Resolution While Moving", this, SLOT(disableLowResMoving(bool)))->setCheckable(true); | |
| 336 | − | |
| 337 | − addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableDeltaSending, NULL, NULL); | |
| 333 | + addCheckableActionToQMenuAndActionHash(debugMenu, | |
| 334 | + MenuOption::LowRes, | |
| 335 | + 0, | |
| 336 | + true, | |
| 337 | + appInstance->getAvatar(), | |
| 338 | + SLOT(setWantLowResMoving(bool))); | |
| 338 | 339 | |
| 339 | − // debugMenu->addAction("Disable Delta Sending", this, SLOT(disableDeltaSending(bool)))->setCheckable(true); | |
| 340 | + addCheckableActionToQMenuAndActionHash(debugMenu, | |
| 341 | + MenuOption::DeltaSending, | |
| 342 | + 0, | |
| 343 | + true, | |
| 344 | + appInstance->getAvatar(), | |
| 345 | + SLOT(setWantDelta(bool))); | |
| 340 | 346 | |
| 341 | 347 | addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableOcclusionCulling, Qt::SHIFT | Qt::Key_C); |
| 342 | 348 | // (_occlusionCulling = debugMenu->addAction("Disable Occlusion Culling", this, SLOT(disableOcclusionCulling(bool)), |