From da53cf9c933be20d0deea878e5c3a748044a1033 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 7 Jul 2016 09:09:39 -0400 Subject: Ensure the checkbox for loading desktop icons properly reflects the setting in the file. --- src-qt5/core-utils/lumina-config/pages/page_interface_desktop.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-qt5/core-utils') diff --git a/src-qt5/core-utils/lumina-config/pages/page_interface_desktop.cpp b/src-qt5/core-utils/lumina-config/pages/page_interface_desktop.cpp index 9c319780..7a52959a 100644 --- a/src-qt5/core-utils/lumina-config/pages/page_interface_desktop.cpp +++ b/src-qt5/core-utils/lumina-config/pages/page_interface_desktop.cpp @@ -33,6 +33,7 @@ void page_interface_desktop::SaveSettings(){ QSettings settings("lumina-desktop","desktopsettings"); QString DPrefix = "desktop-"+QString::number(cscreen)+"/"; + settings.setValue(DPrefix+"generateDesktopIcons", ui->check_desktop_autolaunchers->isChecked() ); QStringList plugs; for(int i=0; ilist_desktop_plugins->count(); i++){ plugs << ui->list_desktop_plugins->item(i)->whatsThis(); @@ -53,6 +54,7 @@ void page_interface_desktop::LoadSettings(int screennum){ emit ChangePageTitle( tr("Desktop Settings") ); QSettings settings("lumina-desktop","desktopsettings"); QString DPrefix = "desktop-"+QString::number(cscreen)+"/"; + ui->check_desktop_autolaunchers->setChecked(settings.value(DPrefix+"generateDesktopIcons",false).toBool() ); QStringList dplugs = settings.value(DPrefix+"pluginlist",QStringList()).toStringList(); ui->list_desktop_plugins->clear(); -- cgit