SPE-2553: Added Preferences / Other checkbox for checking old desktop files.

This commit is contained in:
David Kocik 2024-12-06 12:46:55 +01:00 committed by Lukas Matena
parent 37c1a81e34
commit 57d383d585

View File

@ -638,6 +638,13 @@ void PreferencesDialog::build()
L("If enabled, PrusaSlicer will show up \"Log in\" button in application top bar."),
app_config->get_bool("show_login_button"));
#if defined(__linux__) && !defined(SLIC3R_DESKTOP_INTEGRATION)
append_bool_option(m_optgroup_other, "check_old_desktop_files",
L("Check outdated desktop files for removal"),
L("If enabled, PrusaSlicer will search for outdated desktop files at startup and ask for removal."),
app_config->get("check_old_desktop_files") == "1");
#endif //defined(__linux__) && !defined(SLIC3R_DESKTOP_INTEGRATION)
append_bool_option(m_optgroup_other, "downloader_url_registered",
L("Allow downloads from Printables.com"),
L("If enabled, PrusaSlicer will be allowed to download from Printables.com"),