mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
Rename to clear cache and restart
This commit is contained in:
parent
39cb5100a3
commit
ed296850e2
4 changed files with 4 additions and 4 deletions
|
@ -2412,7 +2412,7 @@ void Application::cameraMenuChanged() {
|
|||
}
|
||||
}
|
||||
|
||||
void Application::clearCacheAndQuit() {
|
||||
void Application::clearCacheAndRestart() {
|
||||
emptyLocalCache();
|
||||
exit(RESTART_CODE);
|
||||
}
|
||||
|
|
|
@ -454,7 +454,7 @@ public slots:
|
|||
|
||||
void cameraMenuChanged();
|
||||
|
||||
void clearCacheAndQuit();
|
||||
void clearCacheAndRestart();
|
||||
|
||||
private slots:
|
||||
void clearDomainOctreeDetails();
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue