X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2FShellIntegration.cpp;h=fece1a9a0fab1905bc9719019d06f4aaeaa5036a;hb=4d898010c0622161ab1bd435f19cf68e5c653253;hp=76ebaad8d5cc8040532f0b924c0abc5581d76cdd;hpb=6b310b7c05c553d7c43c65ccb61367ce84c52f7b;p=lamexp%2FLameXP.git diff --git a/src/ShellIntegration.cpp b/src/ShellIntegration.cpp index 76ebaad8..fece1a9a 100644 --- a/src/ShellIntegration.cpp +++ b/src/ShellIntegration.cpp @@ -86,7 +86,7 @@ void ShellIntegration::install(bool async) const QString lamexpFileType(g_lamexpFileType); const QString lamexpFileInfo(tr("Audio File supported by LameXP")); const QString lamexpShellText(tr("Convert this file with LameXP v%1").arg(QString().sprintf("%d.%02d", lamexp_version_major(), lamexp_version_minor()))); - const QString lamexpShellCommand = QString("\"%1\" --add \"%2\"").arg(QDir::toNativeSeparators(QFileInfo(QApplication::applicationFilePath()).canonicalFilePath()), "%1"); + const QString lamexpShellCommand = QString("\"%1\" \"--add=%2\"").arg(QDir::toNativeSeparators(QFileInfo(QApplication::applicationFilePath()).canonicalFilePath()), "%1"); const QString lamexpShellAction(g_lamexpShellAction); //Register the LameXP file type