[Konversation-devel] [Bug 103769] tries to send some pastes as commands instead of text

ismail donmez ( cartman ) ismail at kde.org
Thu Jul 1 16:03:08 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=103769





--- Comment #2 from ismail ( cartman ) donmez <ismail kde org>  2010-07-01 16:03:07 ---
commit a46ee581ff5a379575374cecb6c99a1748c90885
Author: İsmail Dönmez <ismail at kde.org>
Date:   Wed Apr 13 19:52:49 2005 +0000

    Don't interpret new lines
    BUG:103769

    svn path=/trunk/kdeextragear-2/konversation/; revision=405418

diff --git a/konversation/outputfilter.cpp b/konversation/outputfilter.cpp
index 02fab77..34a1489 100644
--- a/konversation/outputfilter.cpp
+++ b/konversation/outputfilter.cpp
@@ -95,6 +95,10 @@ namespace Konversation {
         destination=name;

         QString inputLine(originalLine);
+    inputLine.remove("\n");
+
+    if(inputLine.isEmpty())
+      return result;

         if(!KonversationApplication::preferences.getDisableExpansion())
         {

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list