summaryrefslogtreecommitdiffstats
path: root/korganizer/koeventeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeventeditor.cpp')
-rw-r--r--korganizer/koeventeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koeventeditor.cpp b/korganizer/koeventeditor.cpp
index 73857fd6..d7c1b1aa 100644
--- a/korganizer/koeventeditor.cpp
+++ b/korganizer/koeventeditor.cpp
@@ -230,9 +230,9 @@ void KOEventEditor::setDates( const TQDateTime &from, const TQDateTime &to, bool
void KOEventEditor::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 );