summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_formula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_formula.cpp')
-rw-r--r--kspread/dialogs/kspread_dlg_formula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/dialogs/kspread_dlg_formula.cpp b/kspread/dialogs/kspread_dlg_formula.cpp
index 89406321..23d9f057 100644
--- a/kspread/dialogs/kspread_dlg_formula.cpp
+++ b/kspread/dialogs/kspread_dlg_formula.cpp
@@ -547,7 +547,7 @@ static void showEntry( TQLineEdit* edit, TQLabel* label,
edit->setText( "0" );
break;
case KSpread_Int:
- edit->setValidator(new TQIntValidator (TQT_TQOBJECT(edit)));
+ edit->setValidator(new TQIntValidator (edit));
edit->setText( "0" );
break;
}