Hi again,
No one replied my email about the problem on save chat, so I made some tests
and played a little with the code.
I discovered that the problem occours on the mlePaneLocal object of the
chatdlg.cpp file in the qt-gui plugin.
When mlePaneLocal last line is appended to mleIRCRemote when user is not in
IRC mode the mlePaneLocal last line is blank. I wonder that somewhere in the
code, after user press ENTER, mlePaneLocal receives a empity line so the call
mleIRCRemote->append(chatname + "> " +
mlePaneLocal->textLine(mlePaneLocal->numLines()-1));
on ChatDlg::StartAsClient(unsigned short nPort), points to a null line
instead of the line just before the <enter>. I changed "-1" to "-2" and
everything worked fine.
The real fix should find where mlePaneLocal receives the extra line and fix
it, but, I don't know C very well and I'm afraid to mess the code.
Leonardo Stern
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel