summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/coreplugin/bcgtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/coreplugin/bcgtool.cpp')
-rw-r--r--digikam/imageplugins/coreplugin/bcgtool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/imageplugins/coreplugin/bcgtool.cpp b/digikam/imageplugins/coreplugin/bcgtool.cpp
index 947057a6..62256926 100644
--- a/digikam/imageplugins/coreplugin/bcgtool.cpp
+++ b/digikam/imageplugins/coreplugin/bcgtool.cpp
@@ -266,7 +266,7 @@ void BCGTool::slotColorSelectedFromTarget(const DColor &color)
void BCGTool::readSettings()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("bcgadjust Tool");
m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity.
m_scaleBG->setButton(config->readNumEntry("Histogram Scale", HistogramWidget::LogScaleHistogram));
@@ -280,7 +280,7 @@ void BCGTool::readSettings()
void BCGTool::writeSettings()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("bcgadjust Tool");
config->writeEntry("Histogram Channel", m_channelCB->currentItem());
config->writeEntry("Histogram Scale", m_scaleBG->selectedId());