summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrGotoPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrGotoPage.cpp')
-rw-r--r--kpresenter/KPrGotoPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpresenter/KPrGotoPage.cpp b/kpresenter/KPrGotoPage.cpp
index 6a3f8592..fb9ef42a 100644
--- a/kpresenter/KPrGotoPage.cpp
+++ b/kpresenter/KPrGotoPage.cpp
@@ -81,7 +81,7 @@ int KPrGotoPage::gotoPage( const KPrDocument *doc,
int KPrGotoPage::page() const {
if(result()==TQDialog::Accepted)
- return spinbox->currentText().left( spinbox->currentText().tqfind( "-" ) - 1 ).toInt();
+ return spinbox->currentText().left( spinbox->currentText().find( "-" ) - 1 ).toInt();
return oldPage;
}