Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -198,8 +198,9 @@ static const float MIRROR_FIELD_OF_VIEW = 30.0f; · 197 unmodified lines | |||
| 198 | 198 | ||
| 199 | static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND; | 199 | static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND; |
| 200 | 200 | ||
| 201 | static const QString INFO_HELP_PATH = "html/interface-welcome.html"; | 201 | static const QString INFO_WELCOME_PATH = "html/interface-welcome.html"; |
| 202 | static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html"; | 202 | static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html"; |
| 203 | static const QString INFO_HELP_PATH = "html/help.html"; | ||
| 203 | 204 | ||
| 204 | static const unsigned int THROTTLED_SIM_FRAMERATE = 15; | 205 | static const unsigned int THROTTLED_SIM_FRAMERATE = 15; |
| 205 | static const int THROTTLED_SIM_FRAME_PERIOD_MS = MSECS_PER_SECOND / THROTTLED_SIM_FRAMERATE; | 206 | static const int THROTTLED_SIM_FRAME_PERIOD_MS = MSECS_PER_SECOND / THROTTLED_SIM_FRAMERATE; |
| @@ -1999,11 +2000,11 @@ void Application::setFieldOfView(float fov) { · 1793 unmodified lines | |||
| 1999 | } | 2000 | } |
| 2000 | 2001 | ||
| 2001 | void Application::aboutApp() { | 2002 | void Application::aboutApp() { |
| 2002 | InfoView::show(INFO_HELP_PATH); | 2003 | InfoView::show(INFO_WELCOME_PATH); |
| 2003 | } | 2004 | } |
| 2004 | 2005 | ||
| 2005 | void Application::showHelp() { | 2006 | void Application::showHelp() { |
| 2006 | InfoView::show(INFO_EDIT_ENTITIES_PATH); | 2007 | InfoView::show(INFO_HELP_PATH); |
| 2007 | } | 2008 | } |
| 2008 | 2009 | ||
| 2009 | void Application::resizeEvent(QResizeEvent* event) { | 2010 | void Application::resizeEvent(QResizeEvent* event) { |