| Summary: | tries to send some pastes as commands instead of text | ||
|---|---|---|---|
| Product: | [Applications] konversation | Reporter: | Michael Gabilondo <eno> |
| Component: | general | Assignee: | Konversation Bugs <konversation-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Michael Gabilondo
2005-04-13 04:46:59 UTC
CVS commit by cartman:
Don't interpret new lines
BUG:103769
M +4 -0 outputfilter.cpp 1.151
--- kdeextragear-2/konversation/konversation/outputfilter.cpp #1.150:1.151
@@ -96,4 +96,8 @@ namespace Konversation {
QString inputLine(originalLine);
+ inputLine.remove("\n");
+
+ if(inputLine.isEmpty())
+ return result;
if(!KonversationApplication::preferences.getDisableExpansion())
commit a46ee581ff5a379575374cecb6c99a1748c90885 Author: İsmail Dönmez <ismail@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()) { |