Rename to clear cache and restart

This commit is contained in:
Atlante45 2015-07-08 12:24:45 -07:00
parent 39cb5100a3
commit ed296850e2
4 changed files with 4 additions and 4 deletions

View file

@ -2412,7 +2412,7 @@ void Application::cameraMenuChanged() {
}
}
void Application::clearCacheAndQuit() {
void Application::clearCacheAndRestart() {
emptyLocalCache();
exit(RESTART_CODE);
}

View file

@ -454,7 +454,7 @@ public slots:
void cameraMenuChanged();
void clearCacheAndQuit();
void clearCacheAndRestart();
private slots:
void clearDomainOctreeDetails();

View file

@ -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,

View file

@ -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";