summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_view.cc')
-rw-r--r--kspread/kspread_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc
index 77400ea0..cb86e1a0 100644
--- a/kspread/kspread_view.cc
+++ b/kspread/kspread_view.cc
@@ -2110,7 +2110,7 @@ void View::initConfig()
doc()->setShowColHeader(config->readBoolEntry("Column Header",true));
doc()->setShowRowHeader(config->readBoolEntry("Row Header",true));
if ( !doc()->configLoadFromFile() )
- doc()->setCompletionMode((KGlobalSettings::Completion)config->readNumEntry("Completion Mode",(int)(KGlobalSettings::CompletionAuto)));
+ doc()->setCompletionMode((TDEGlobalSettings::Completion)config->readNumEntry("Completion Mode",(int)(TDEGlobalSettings::CompletionAuto)));
doc()->setMoveToValue((KSpread::MoveTo)config->readNumEntry("Move",(int)(Bottom)));
doc()->setIndentValue( config->readDoubleNumEntry( "Indent", 10.0 ) );
doc()->setTypeOfCalc((MethodOfCalc)config->readNumEntry("Method of Calc",(int)(SumOfNumber)));