Commit 72ca504c authored by Albert Astals Cid's avatar Albert Astals Cid

Merge remote-tracking branch 'origin/Applications/15.04'

parents decb1846 0877dfd5
......@@ -138,14 +138,14 @@ Status main(const QStringList &paths, const QString &serializedOptions)
if (ShellUtils::showPrintDialog(serializedOptions) && paths.count() > 1)
{
QTextStream stream(stderr);
stream << i18n( "Error: Can't open more than one document with the --presentation switch" ) << endl;
stream << i18n( "Error: Can't open more than one document with the --print switch" ) << endl;
return Error;
}
if (!ShellUtils::page(serializedOptions).isEmpty() && paths.count() > 1)
{
QTextStream stream(stderr);
stream << i18n( "Error: Can't open more than one document with the --presentation switch" ) << endl;
stream << i18n( "Error: Can't open more than one document with the --page switch" ) << endl;
return Error;
}
......
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