|
@@ -428,7 +428,7 @@ CommandLineParserPrivate::CommandLineParserPrivate(Settings & s):
|
|
|
addarg("collate", 0, "Collate when printing multiple copies", new ConstSetter<bool>(s.collate,true,false));
|
|
|
addarg("copies", 0, "Number of copies to print into the pdf file", new IntSetter(s.copies, "number", 1));
|
|
|
addarg("orientation",'O',"Set orientation to Landscape or Portrait", new OrientationSetter(s.orientation, "orientation", QPrinter::Portrait));
|
|
|
- addarg("page-size",'s',"Set paper size to: A4, Letter, etc.", new PageSizeSetter(s.pageSize, "size", QPrinter::A4));
|
|
|
+ addarg("page-size",'s',"Set paper size to: A4, Letter, etc.", new PageSizeSetter(s.size.pageSize, "size", QPrinter::A4));
|
|
|
addarg("proxy",'p',"Use a proxy", new ProxySetter(s.proxy, "proxy"));
|
|
|
addarg("username",0,"HTTP Authentication username", new QStrSetter(s.username, "username",""));
|
|
|
addarg("password",0,"HTTP Authentication password", new QStrSetter(s.password, "password",""));
|