# HG changeset patch # User Jacob Dawid # Date 1311195226 -7200 # Node ID 3ec73e6b8cbe8b7b78f5a9a1a8b70d827c485584 # Parent 7b0a721d0ae870107002cf21541accae27683add Commented lines on which a crash occurs. diff -r 7b0a721d0ae8 -r 3ec73e6b8cbe gui/src/OctaveLink.cpp --- a/gui/src/OctaveLink.cpp Wed Jul 20 22:44:31 2011 +0200 +++ b/gui/src/OctaveLink.cpp Wed Jul 20 22:53:46 2011 +0200 @@ -132,6 +132,9 @@ int serverHistoryLength = command_history::length (); // If were behind the server, iterate through all new entries and add them to our history. + + // TODO: command_history::get_entry crashes, find out why. + /* if (clientHistoryLength < serverHistoryLength) { for (int i = clientHistoryLength; i < serverHistoryLength; i++) @@ -139,7 +142,7 @@ m_historyModel->insertRow (0); m_historyModel->setData (m_historyModel->index (0), QString (command_history::get_entry (i).c_str ())); } - } + }*/ } QStringListModel *