Aggregated common Octave argument list

This commit is contained in:
Magne Sjaastad committed 2014-08-14 10:55:47 +02:00
1 parent 329ec921e8
commit 31274dbb00
4 files changed
+33 -39

No files matched your search

@@ -106,13 +106,7 @@ void RimCommandExecuteScript::redo()
QString octavePath = app->octavePath();
if (!octavePath.isEmpty())
{
// http://www.gnu.org/software/octave/doc/interpreter/Command-Line-Options.html#Command-Line-Options
QStringList arguments;
arguments.append("--path");
arguments << QApplication::applicationDirPath();
arguments.append("-q");
QStringList arguments = app->octaveArguments();
arguments.append("--eval");
arguments << this->scriptText();