changeset 13527:3ec73e6b8cbe

Commented lines on which a crash occurs.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 20 Jul 2011 22:53:46 +0200
parents 7b0a721d0ae8
children 8b116446a904
files gui/src/OctaveLink.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 *