diff options
Diffstat (limited to 'korganizer/kotodoeditor.cpp')
-rw-r--r-- | korganizer/kotodoeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp index cbf15d28d..8da491fb4 100644 --- a/korganizer/kotodoeditor.cpp +++ b/korganizer/kotodoeditor.cpp @@ -172,9 +172,9 @@ void KOTodoEditor::newTodo() void KOTodoEditor::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 ); |