diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 6c140e8cbb..522d16981c 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2412,7 +2412,7 @@ void Application::cameraMenuChanged() { } } -void Application::clearCacheAndQuit() { +void Application::clearCacheAndRestart() { emptyLocalCache(); exit(RESTART_CODE); } diff --git a/interface/src/Application.h b/interface/src/Application.h index c387d80380..a4c584da50 100644 --- a/interface/src/Application.h +++ b/interface/src/Application.h @@ -454,7 +454,7 @@ public slots: void cameraMenuChanged(); - void clearCacheAndQuit(); + void clearCacheAndRestart(); private slots: void clearDomainOctreeDetails(); diff --git a/interface/src/Menu.cpp b/interface/src/Menu.cpp index 30d92f16dc..7808840232 100644 --- a/interface/src/Menu.cpp +++ b/interface/src/Menu.cpp @@ -127,7 +127,7 @@ Menu::Menu() { addActionToQMenuAndActionHash(fileMenu, MenuOption::CopyPath, 0, addressManager.data(), SLOT(copyPath())); - addActionToQMenuAndActionHash(fileMenu, MenuOption::ClearCacheAndQuit, 0, qApp, SLOT(clearCacheAndQuit())); + addActionToQMenuAndActionHash(fileMenu, MenuOption::ClearCacheAndRestart, 0, qApp, SLOT(clearCacheAndRestart())); addActionToQMenuAndActionHash(fileMenu, MenuOption::Quit, Qt::CTRL | Qt::Key_Q, diff --git a/interface/src/Menu.h b/interface/src/Menu.h index 17f429a3f2..aa8e3f7a2a 100644 --- a/interface/src/Menu.h +++ b/interface/src/Menu.h @@ -160,7 +160,7 @@ namespace MenuOption { const QString CalibrateCamera = "Calibrate Camera"; const QString CenterPlayerInView = "Center Player In View"; const QString Chat = "Chat..."; - const QString ClearCacheAndQuit = "Clear Cache and Quit"; + const QString ClearCacheAndRestart = "Clear Cache and Restart"; const QString Collisions = "Collisions"; const QString Console = "Console..."; const QString ControlWithSpeech = "Control With Speech";