[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Konversation] d24c746: Fix nick cycle bug
From: Dario Abatianni <eisfuchs () tigress ! com>
Date: 2010-07-01 13:27:21
Message-ID: 20100701132721.B526CBB55B4 () projects ! kde ! org
[Download RAW message or body]
commit d24c74694b5c0ef57aa0e3882b405866cbcda7e6
Author: Dario Abatianni <eisfuchs@tigress.com>
Date: Wed Feb 11 20:48:24 2004 +0000
Fix nick cycle bug
svn path=/trunk/kdeextragear-2/konversation/; revision=287217
diff --git a/konversation/channel.cpp b/konversation/channel.cpp
index 5cbbd91..e296ef5 100644
--- a/konversation/channel.cpp
+++ b/konversation/channel.cpp
@@ -454,9 +454,9 @@ void Channel::completeNick()
{
int pos; // = cursorPosition();
int oldPos; // = cursorPosition();
-
- channelInput->getCursorPosition(&oldPos,&pos);
- oldPos=pos;
+
+ channelInput->getCursorPosition(&oldPos,&pos); // oldPos is a dummy here, taking \
the paragraph parameter + oldPos=channelInput->getOldCursorPosition();
QString line=channelInput->text();
QString newLine;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic