aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core-utils')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_compton.cpp3
1 files changed, 2 insertions, 1 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 d0718dc2..fcbd3e41 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_compton.cpp
@@ -28,13 +28,14 @@ void page_compton::SaveSettings(){
emit HasPendingChanges(false);
QString set = QString(getenv("XDG_CONFIG_HOME"))+"/lumina-desktop/compton.conf";
- LUtils::writeFile(set, ui->text_file->toPlainText().split("\n") );
+ LUtils::writeFile(set, ui->text_file->toPlainText().split("\n"),true);
}
void page_compton::LoadSettings(int){
emit HasPendingChanges(false);
emit ChangePageTitle( tr("Compositor Settings") );
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") );
}
bgstack15