Commit ac3f3cf6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port QProcess::startDetached deprecated method

parent faec9ac0
...@@ -148,7 +148,7 @@ void Kig::fileNew() ...@@ -148,7 +148,7 @@ void Kig::fileNew()
if ( ! m_part->url().isEmpty() || m_part->isModified() ) if ( ! m_part->url().isEmpty() || m_part->isModified() )
{ {
QString kigBinary = QStandardPaths::findExecutable( QStringLiteral("kig") ); QString kigBinary = QStandardPaths::findExecutable( QStringLiteral("kig") );
QProcess::startDetached( kigBinary ); QProcess::startDetached( kigBinary, QStringList() );
} }
} }
......
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