Mercurial > octave-nkf
changeset 13619:f72530c9471a
Included Andriys patch for russian symbols.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 18 Aug 2011 10:42:52 +0200 |
parents | 46c5fd59fe98 |
children | 1fa83c820402 |
files | gui/src/IRCWidget.cpp gui/src/qirc/IRCClientImpl.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/IRCWidget.cpp Wed Aug 17 21:26:37 2011 +0200 +++ b/gui/src/IRCWidget.cpp Thu Aug 18 10:42:52 2011 +0200 @@ -127,7 +127,7 @@ m_completer->setCompletionPrefix(completionPrefix); } - if (completionPrefix.length() > 0) + if (completionPrefix.length() > 2) { m_completer->popup ()->setCurrentIndex (m_completer->completionModel ()->index (0, 0)); m_completer->complete ();
--- a/gui/src/qirc/IRCClientImpl.cpp Wed Aug 17 21:26:37 2011 +0200 +++ b/gui/src/qirc/IRCClientImpl.cpp Thu Aug 18 10:42:52 2011 +0200 @@ -334,7 +334,7 @@ { line = m_tcpSocket.readLine(); if (line.size ()) - handleIncomingLine(QString (line).toLocal8Bit ()); + handleIncomingLine(QString::fromUtf8(line.data ())); else break; }