Commit c400f31b authored by David Edmundson's avatar David Edmundson
Browse files

Avoid connecting to overloaded signal

parent fb826aa6
...@@ -263,7 +263,7 @@ void ThemeModel::editElement(const QString& imagePath) ...@@ -263,7 +263,7 @@ void ThemeModel::editElement(const QString& imagePath)
//TODO: don't use the script to not depend from bash/linux? //TODO: don't use the script to not depend from bash/linux?
process->setProgram("bash", QStringList() << m_package.filePath("scripts", "openInEditor.sh") << finalFile); process->setProgram("bash", QStringList() << m_package.filePath("scripts", "openInEditor.sh") << finalFile);
connect(process, &QProcess::finished, this, &ThemeModel::processFinished); connect(process, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, &ThemeModel::processFinished);
process->start(); process->start();
} }
......
Markdown is supported
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