Introduce View Menu

* Move user interface settings from the settings widget into the view menu.
* Add auto-restart prompt to make theme changes easy
This commit is contained in:
Jonathan White 2020-06-28 10:01:24 -04:00
parent 1dd758c66a
commit 4bf6d8d94d
10 changed files with 206 additions and 137 deletions

View file

@ -155,6 +155,12 @@ int main(int argc, char** argv)
int exitCode = Application::exec();
// Check if restart was requested
if (exitCode == RESTART_EXITCODE) {
QProcess* proc = new QProcess();
proc->start(QCoreApplication::applicationFilePath());
}
#if defined(WITH_ASAN) && defined(WITH_LSAN)
// do leak check here to prevent massive tail of end-of-process leak errors from third-party libraries
__lsan_do_leak_check();