summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Fieroni <bvbfan@abv.bg>2017-01-23 19:31:57 (GMT)
committerAnthony Fieroni <bvbfan@abv.bg>2017-01-23 19:31:57 (GMT)
commitbe4cff0ed1dea4515751210b7db9fe3f29ddd037 (patch)
tree3acb1f95e524fbf7ee56efcf6bb2b7c67352c507
parent4af59a374bce56ee4be273b8397aff28953d483d (diff)
[kcm] Fix reset logic
REVIEW: 129875 Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
-rw-r--r--kcms/ksplash/kcm.cpp1
-rw-r--r--kcms/lookandfeel/kcm.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/kcms/ksplash/kcm.cpp b/kcms/ksplash/kcm.cpp
index 842fbe4..66caace 100644
--- a/kcms/ksplash/kcm.cpp
+++ b/kcms/ksplash/kcm.cpp
@@ -133,6 +133,7 @@ void KCMSplashScreen::load()
row->setData(pkg.filePath("previews", QStringLiteral("splash.png")), ScreenhotRole);
m_model->appendRow(row);
}
+ setNeedsSave(false);
}
diff --git a/kcms/lookandfeel/kcm.cpp b/kcms/lookandfeel/kcm.cpp
index a8ceca2..402a507 100644
--- a/kcms/lookandfeel/kcm.cpp
+++ b/kcms/lookandfeel/kcm.cpp
@@ -241,6 +241,7 @@ void KCMLookandFeel::load()
m_model->appendRow(row);
}
+ setNeedsSave(false);
}