summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrConfig.cpp')
-rw-r--r--kpresenter/KPrConfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrConfig.cpp b/kpresenter/KPrConfig.cpp
index 42a701e9..b25e1255 100644
--- a/kpresenter/KPrConfig.cpp
+++ b/kpresenter/KPrConfig.cpp
@@ -365,13 +365,13 @@ void KPrConfigureColorBackground::apply()
if( oldGridColor != _col ) {
config->setGroup( "KPresenter Color" );
config->writeEntry( "GridColor", _col );
- doc->tqrepaint( false );
+ doc->repaint( false );
doc->setGridColor( _col );
oldGridColor=_col;
repaintNeeded = true;
}
if (repaintNeeded)
- doc->tqrepaint( false );
+ doc->repaint( false );
}
void KPrConfigureColorBackground::slotDefault()
@@ -567,7 +567,7 @@ KCommand * KPrConfigureMiscPage::apply()
doc->setGridValue( resolutionX->value(),
resolutionY->value(), true);
- doc->tqrepaint( false );
+ doc->repaint( false );
config->sync();