diff options
author | q5sys <jt@obs-sec.com> | 2016-11-20 01:43:17 -0500 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2016-11-20 01:43:17 -0500 |
commit | b9840ef585385fece513e24e4cea193d35328dc0 (patch) | |
tree | baf3f6ea9b462bb35bb71679639dbc345b36f400 /src-qt5/core-utils/lumina-config/pages/page_compton.cpp | |
parent | search clear function on ESC press (diff) | |
parent | Add a new dialog UI form (not integrated yet) for a front-end to "dd"ing ISO/... (diff) | |
download | lumina-b9840ef585385fece513e24e4cea193d35328dc0.tar.gz lumina-b9840ef585385fece513e24e4cea193d35328dc0.tar.bz2 lumina-b9840ef585385fece513e24e4cea193d35328dc0.zip |
search clear function on ESC press
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages/page_compton.cpp')
-rw-r--r-- | src-qt5/core-utils/lumina-config/pages/page_compton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_compton.cpp b/src-qt5/core-utils/lumina-config/pages/page_compton.cpp index 5f7cd190..8cdb2ea7 100644 --- a/src-qt5/core-utils/lumina-config/pages/page_compton.cpp +++ b/src-qt5/core-utils/lumina-config/pages/page_compton.cpp @@ -29,6 +29,7 @@ void page_compton::SaveSettings(){ emit HasPendingChanges(false); QSettings settings("lumina-desktop","sessionsettings"); settings.setValue("enableCompositing", !ui->check_disablecompton->isChecked()); + settings.setValue("compositingWithGpuAccelOnly", ui->check_GPUverify->isChecked()); QString set = QString(getenv("XDG_CONFIG_HOME"))+"/lumina-desktop/compton.conf"; LUtils::writeFile(set, ui->text_file->toPlainText().split("\n"),true); } @@ -37,6 +38,7 @@ void page_compton::LoadSettings(int){ emit ChangePageTitle( tr("Compositor Settings") ); QSettings settings("lumina-desktop","sessionsettings"); ui->check_disablecompton->setChecked( !settings.value("enableCompositing", true).toBool() ); + ui->check_GPUverify->setChecked( settings.value("compositingWithGpuAccelOnly", true).toBool() ); QString set = QString(getenv("XDG_CONFIG_HOME"))+"/lumina-desktop/compton.conf"; qDebug() << "Load Compton settings:" << set; ui->text_file->setPlainText( LUtils::readFile(set).join("\n") ); |