summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp')
-rw-r--r--kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp b/kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp
index 4de1b843..e5cb5504 100644
--- a/kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp
+++ b/kvoctrain/kvoctrain/entry-dialogs/EntryDlg.cpp
@@ -269,7 +269,7 @@ void EntryDlg::updatePages(const TQString &type)
{
TQString main;
int pos;
- if ((pos = type.tqfind (TQM_TYPE_DIV)) < 0) // only use main type
+ if ((pos = type.find (TQM_TYPE_DIV)) < 0) // only use main type
main = type;
else
main = type.left(pos);
@@ -311,7 +311,7 @@ void EntryDlg::setEnabled(int enable)
TQString type = comm_page->getType();
TQString main;
int pos;
- if ((pos = type.tqfind (TQM_TYPE_DIV)) < 0) // only use main type
+ if ((pos = type.find (TQM_TYPE_DIV)) < 0) // only use main type
main = type;
else
main = type.left(pos);