mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Enable / disable side bar based on filters.
This commit is contained in:
@@ -502,13 +502,6 @@ void Application::switchDebugMode() {
|
||||
}
|
||||
}
|
||||
|
||||
void Application::switchWorkMode() {
|
||||
Global::SetDialogsFiltersEnabled(!Global::DialogsFiltersEnabled());
|
||||
Global::SetDialogsFilterId(0);
|
||||
Local::writeUserSettings();
|
||||
App::restart();
|
||||
}
|
||||
|
||||
void Application::switchTestMode() {
|
||||
if (cTestMode()) {
|
||||
QFile(cWorkingDir() + qsl("tdata/withtestmode")).remove();
|
||||
|
Reference in New Issue
Block a user