Mercurial > hg > octave-lojdl
changeset 14282:556f8f40112e gui
Modified call to octave_main, so it doesn't run in embedded mode anymore.
* OctaveMainThread.cpp (run): Removed embedded flag. Terminal is now working.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 30 Jan 2012 01:54:18 +0100 |
parents | 29a5e5b94a04 |
children | 8dfa333f1130 |
files | gui/src/backend/OctaveMainThread.cpp |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/backend/OctaveMainThread.cpp +++ b/gui/src/backend/OctaveMainThread.cpp @@ -25,11 +25,8 @@ void OctaveMainThread::run () { - int argc = 2; - const char *argv[] = { "OctaveGUI", "--interactive" }; - octave_main (argc, (char **) argv, 1); + int argc = 1; + const char *argv[] = { "OctaveGUI" }; emit ready(); - main_loop (); - // TODO: Close application on quit. - clean_up_and_exit (0); + octave_main (argc, (char **) argv, 0); }