Commit 4da52b6a authored by Elvis Angelaccio's avatar Elvis Angelaccio

Remove RootNodeSwitch leftovers

This should have been part of commit 27e5167b.
parent 4085e247
......@@ -100,9 +100,6 @@ enum CliInterfaceParameters {
* $Archive - the path of the archive
* $Files - the files selected to be extracted, if any
* $PreservePathSwitch - the flag for extracting with full paths
* $RootNodeSwitch - the internal work dir in the archive (for example
* when the user has dragged a folder from the archive and wants it
* extracted relative to it)
* $PasswordSwitch - the switch setting the password. Note that this
* will not be inserted unless the listing function has emitted an
* entry with the IsPasswordProtected property set to true.
......
......@@ -53,9 +53,8 @@ ParameterList CliPlugin::parameterList() const
p[ListProgram] = p[ExtractProgram] = p[DeleteProgram] = p[AddProgram] = QLatin1String("rar");
p[ListArgs] = QStringList() << QLatin1String("v") << QLatin1String("-c-") << QLatin1String("$Archive");
p[ExtractArgs] = QStringList() << QLatin1String("-p-") << QLatin1String("$PreservePathSwitch") << QLatin1String("$PasswordSwitch") << QLatin1String("$RootNodeSwitch") << QLatin1String("$Archive") << QLatin1String("$Files");
p[ExtractArgs] = QStringList() << QLatin1String("-p-") << QLatin1String("$PreservePathSwitch") << QLatin1String("$PasswordSwitch") << QLatin1String("$Archive") << QLatin1String("$Files");
p[PreservePathSwitch] = QStringList() << QLatin1String("x") << QLatin1String("e");
p[RootNodeSwitch] = QStringList() << QLatin1String("-ap$Path");
p[PasswordSwitch] = QStringList() << QLatin1String("-p$Password");
p[DeleteArgs] = QStringList() << QLatin1String("d") << QLatin1String("$Archive") << QLatin1String("$Files");
......
......@@ -89,7 +89,6 @@ ParameterList CliPlugin::parameterList() const
<< QStringLiteral( "-p-" )
<< QStringLiteral( "$PreservePathSwitch" )
<< QStringLiteral( "$PasswordSwitch" )
<< QStringLiteral( "$RootNodeSwitch" )
<< QStringLiteral( "$Archive" )
<< QStringLiteral( "$Files" );
p[PreservePathSwitch] = QStringList() << QStringLiteral( "x" )
......
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