summaryrefslogtreecommitdiffstats
path: root/korganizer/kojournaleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kojournaleditor.cpp')
-rw-r--r--korganizer/kojournaleditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kojournaleditor.cpp b/korganizer/kojournaleditor.cpp
index 3570f6eca..23bdbe8f8 100644
--- a/korganizer/kojournaleditor.cpp
+++ b/korganizer/kojournaleditor.cpp
@@ -118,9 +118,9 @@ void KOJournalEditor::newJournal()
void KOJournalEditor::setTexts( const TQString &summary, const TQString &description )
{
- if ( description.isEmpty() && summary.tqcontains("\n") ) {
+ if ( description.isEmpty() && summary.contains("\n") ) {
mGeneral->setDescription( summary );
- int pos = summary.tqfind( "\n" );
+ int pos = summary.find( "\n" );
mGeneral->setSummary( summary.left( pos ) );
} else {
mGeneral->setSummary( summary );