Commit 493cb939 authored by Nikita Sirgienko's avatar Nikita Sirgienko
Browse files

[Lua] Use path to executable from settings

parent fcc477f5
......@@ -55,7 +55,7 @@ void LuaSession::login()
*/
m_process = new QProcess(this);
m_process->setProgram(QLatin1String("/usr/bin/lua"));
m_process->setProgram(LuaSettings::self()->path().toLocalFile());
m_process->setArguments(QStringList() << QLatin1String("-i"));
m_process->setProcessChannelMode(QProcess::SeparateChannels);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment