aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
diff options
context:
space:
mode:
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.cpp12
1 files changed, 6 insertions, 6 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 0003c9c8..5f7cd190 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
@@ -12,10 +12,10 @@
// PUBLIC
//==========
page_compton::page_compton(QWidget *parent) : PageWidget(parent), ui(new Ui::page_compton()){
- ui->setupUi(this);
- connect(ui->text_file, SIGNAL(textChanged()), this, SLOT(settingChanged()) );
- connect(ui->check_disablecompton, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
- updateIcons();
+ ui->setupUi(this);
+ connect(ui->text_file, SIGNAL(textChanged()), this, SLOT(settingChanged()) );
+ connect(ui->check_disablecompton, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
+ updateIcons();
}
page_compton::~page_compton(){
@@ -34,17 +34,17 @@ void page_compton::SaveSettings(){
}
void page_compton::LoadSettings(int){
- emit HasPendingChanges(false);
emit ChangePageTitle( tr("Compositor Settings") );
QSettings settings("lumina-desktop","sessionsettings");
ui->check_disablecompton->setChecked( !settings.value("enableCompositing", 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") );
+ emit HasPendingChanges(false);
}
void page_compton::updateIcons(){
-
+emit HasPendingChanges(false);
}
//=================
bgstack15