Close after Launch setting

This commit is contained in:
swirl 2022-01-29 19:04:44 -05:00
parent 5abb97362f
commit 0065a29901
No known key found for this signature in database
GPG key ID: 46507311CD292A08
6 changed files with 36 additions and 0 deletions

View file

@ -717,6 +717,8 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// pastebin URL
m_settings->registerSetting("PastebinURL", "https://0x0.st");
m_settings->registerSetting("CloseAfterLaunch", false);
// Init page provider
{
m_globalSettingsProvider = std::make_shared<GenericPageProvider>(tr("Settings"));