diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-20 13:22:08 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-20 13:22:08 -0500 |
commit | c79aa5623796f62aa67b2c37367e28710b0f05d2 (patch) | |
tree | baf3f6ea9b462bb35bb71679639dbc345b36f400 /src-qt5/core-utils/lumina-config/pages/page_compton.cpp | |
parent | Revert "comment out changes made to wrong repo, until method can be fixed" (diff) | |
download | lumina-c79aa5623796f62aa67b2c37367e28710b0f05d2.tar.gz lumina-c79aa5623796f62aa67b2c37367e28710b0f05d2.tar.bz2 lumina-c79aa5623796f62aa67b2c37367e28710b0f05d2.zip |
Revert "Revert "search clear function on ESC press""
This reverts commit 151062b99e29e18dbc614bf66582f908c864a96a.
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") ); |