comparison gui/src/MainWindow.h @ 13518:bace956a3724

Put history model part into OctaveLink.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Tue, 19 Jul 2011 15:53:43 +0200
parents 86adc9c4ec4b
children 16b33b7ef1b3
comparison
equal deleted inserted replaced
13517:86adc9c4ec4b 13518:bace956a3724
154 { 154 {
155 m_mainWindow->variablesDockWidget ()-> 155 m_mainWindow->variablesDockWidget ()->
156 setVariablesList (symbolTable); 156 setVariablesList (symbolTable);
157 } 157 }
158 158
159 // Collect history list. 159 OctaveLink::instance ()->updateHistoryModel ();
160 QStringList history = OctaveLink::instance ()->currentHistory ();
161 if (history.length ())
162 {
163 m_mainWindow->historyDockWidget ()->updateHistory (history);
164 }
165
166 usleep (100000); 160 usleep (100000);
167 } 161 }
168 } 162 }
169 private: 163 private:
170 MainWindow * m_mainWindow; 164 MainWindow * m_mainWindow;