mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:17:25 +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();
|
emptyLocalCache();
|
||||||
exit(RESTART_CODE);
|
exit(RESTART_CODE);
|
||||||
}
|
}
|
||||||
|
|
|
@ -454,7 +454,7 @@ public slots:
|
||||||
|
|
||||||
void cameraMenuChanged();
|
void cameraMenuChanged();
|
||||||
|
|
||||||
void clearCacheAndQuit();
|
void clearCacheAndRestart();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void clearDomainOctreeDetails();
|
void clearDomainOctreeDetails();
|
||||||
|
|
|
@ -127,7 +127,7 @@ Menu::Menu() {
|
||||||
addActionToQMenuAndActionHash(fileMenu, MenuOption::CopyPath, 0,
|
addActionToQMenuAndActionHash(fileMenu, MenuOption::CopyPath, 0,
|
||||||
addressManager.data(), SLOT(copyPath()));
|
addressManager.data(), SLOT(copyPath()));
|
||||||
|
|
||||||
addActionToQMenuAndActionHash(fileMenu, MenuOption::ClearCacheAndQuit, 0, qApp, SLOT(clearCacheAndQuit()));
|
addActionToQMenuAndActionHash(fileMenu, MenuOption::ClearCacheAndRestart, 0, qApp, SLOT(clearCacheAndRestart()));
|
||||||
addActionToQMenuAndActionHash(fileMenu,
|
addActionToQMenuAndActionHash(fileMenu,
|
||||||
MenuOption::Quit,
|
MenuOption::Quit,
|
||||||
Qt::CTRL | Qt::Key_Q,
|
Qt::CTRL | Qt::Key_Q,
|
||||||
|
|
|
@ -160,7 +160,7 @@ namespace MenuOption {
|
||||||
const QString CalibrateCamera = "Calibrate Camera";
|
const QString CalibrateCamera = "Calibrate Camera";
|
||||||
const QString CenterPlayerInView = "Center Player In View";
|
const QString CenterPlayerInView = "Center Player In View";
|
||||||
const QString Chat = "Chat...";
|
const QString Chat = "Chat...";
|
||||||
const QString ClearCacheAndQuit = "Clear Cache and Quit";
|
const QString ClearCacheAndRestart = "Clear Cache and Restart";
|
||||||
const QString Collisions = "Collisions";
|
const QString Collisions = "Collisions";
|
||||||
const QString Console = "Console...";
|
const QString Console = "Console...";
|
||||||
const QString ControlWithSpeech = "Control With Speech";
|
const QString ControlWithSpeech = "Control With Speech";
|
||||||
|
|
Loading…
Reference in a new issue