Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -170,6 +170,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 169 unmodified lines | |||
| 170 | _runningScriptsWidget(NULL), | 170 | _runningScriptsWidget(NULL), |
| 171 | _runningScriptsWidgetWasVisible(false), | 171 | _runningScriptsWidgetWasVisible(false), |
| 172 | _trayIcon(new QSystemTrayIcon(_window)), | 172 | _trayIcon(new QSystemTrayIcon(_window)), |
| 173 | _speechRecognizer(), | ||
| 173 | _lastNackTime(usecTimestampNow()), | 174 | _lastNackTime(usecTimestampNow()), |
| 174 | _lastSendDownstreamAudioStats(usecTimestampNow()) | 175 | _lastSendDownstreamAudioStats(usecTimestampNow()) |
| 175 | { | 176 | { |
| @@ -1443,6 +1444,10 @@ void Application::setLowVelocityFilter(bool lowVelocityFilter) { · 1267 unmodified lines | |||
| 1443 | getSixenseManager()->setLowVelocityFilter(lowVelocityFilter); | 1444 | getSixenseManager()->setLowVelocityFilter(lowVelocityFilter); |
| 1444 | } | 1445 | } |
| 1445 | 1446 | ||
| 1447 | void Application::setSpeechRecognitionEnabled(bool enabled) { | ||
| 1448 | _speechRecognizer.setEnabled(enabled); | ||
| 1449 | } | ||
| 1450 | |||
| 1446 | void Application::doKillLocalVoxels() { | 1451 | void Application::doKillLocalVoxels() { |
| 1447 | _wantToKillLocalVoxels = true; | 1452 | _wantToKillLocalVoxels = true; |
| 1448 | } | 1453 | } |