aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-04-27 08:52:49 -0400
committerKen Moore <ken@ixsystems.com>2019-04-27 08:52:49 -0400
commitb631c781f93247dd8d27e966aeebe26d879e5d63 (patch)
tree6b6fbf34f731364223b8c03e710f252c501e7205 /src-qt5/core-utils/lumina-config
parentremove IRC channel from readme (diff)
downloadlumina-b631c781f93247dd8d27e966aeebe26d879e5d63.tar.gz
lumina-b631c781f93247dd8d27e966aeebe26d879e5d63.tar.bz2
lumina-b631c781f93247dd8d27e966aeebe26d879e5d63.zip
Remove the compositing with gpu accel only option. Not used in the backend any more.
Diffstat (limited to 'src-qt5/core-utils/lumina-config')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_compton.cpp4
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_compton.ui9
2 files changed, 2 insertions, 11 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 3b61869f..2d407d93 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
@@ -28,7 +28,6 @@ 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,7 +36,6 @@ void page_compton::LoadSettings(int){
emit ChangePageTitle( tr("Window Effects") );
QSettings settings("lumina-desktop","sessionsettings");
ui->check_disablecompton->setChecked( !settings.value("enableCompositing", false).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") );
@@ -49,7 +47,7 @@ emit HasPendingChanges(false);
}
//=================
-// PRIVATE
+// PRIVATE
//=================
//=================
diff --git a/src-qt5/core-utils/lumina-config/pages/page_compton.ui b/src-qt5/core-utils/lumina-config/pages/page_compton.ui
index 857331d6..e82cd36e 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_compton.ui
+++ b/src-qt5/core-utils/lumina-config/pages/page_compton.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
+ <width>428</width>
<height>300</height>
</rect>
</property>
@@ -34,13 +34,6 @@
</widget>
</item>
<item>
- <widget class="QCheckBox" name="check_GPUverify">
- <property name="text">
- <string>Only use compositing with GPU acceleration </string>
- </property>
- </widget>
- </item>
- <item>
<widget class="QPlainTextEdit" name="text_file"/>
</item>
</layout>
bgstack15