diff options
Diffstat (limited to 'kopete/plugins/latex/latexguiclient.cpp')
-rw-r--r-- | kopete/plugins/latex/latexguiclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kopete/plugins/latex/latexguiclient.cpp b/kopete/plugins/latex/latexguiclient.cpp index 154a176a..19fbe54b 100644 --- a/kopete/plugins/latex/latexguiclient.cpp +++ b/kopete/plugins/latex/latexguiclient.cpp @@ -57,7 +57,7 @@ void LatexGUIClient::slotPreview() Kopete::Message msg = m_manager->view()->currentMessage(); TQString messageText = msg.plainBody(); - if(!messageText.tqcontains("$$")) //we haven't found any latex strings + if(!messageText.contains("$$")) //we haven't found any latex strings { KMessageBox::sorry(reinterpret_cast<TQWidget*>(m_manager->view()) , i18n("There are no latex in the message you are typing. The latex formula must be included between $$ and $$ "), i18n("No Latex Formula") ); return; |