[licq-im/licq] 1d52b3: qt4-gui: Keep log cursor position

GitHub <[email protected]> Mon, 30 Jan 2012 09:42:14 -0800
Newsgroups gmane.network.licq.cvs
Message-ID <[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/licq-im/licq
  Commit: 1d52b36b796147cfaf6f69f7f40ec2d9ab0c2aaa
      https://github.com/licq-im/licq/commit/1d52b36b796147cfaf6f69f7f40ec2d9ab0c2aaa
  Author: Anders Olofsson <[email protected]>
  Date:   2012-01-30 (Mon, 30 Jan 2012)

  Changed paths:
    M qt4-gui/src/widgets/mlview.cpp

  Log Message:
  -----------
  qt4-gui: Keep log cursor position

Network log window has a fixed length (500 messages), when additional
log entries are added, the oldest entry is removed and the cursor
position needs to be recalculated. This removes the error printouts
from QTextCursor::setPosition about position out of range.