From e1117d335949da98a60b84015e561c1b9ff007e5 Mon Sep 17 00:00:00 2001 From: nblock Date: Wed, 17 Jul 2019 03:51:43 +0200 Subject: [PATCH] Handle --copies commandline argument (#64) Oops! --- glabels-batch/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glabels-batch/main.cpp b/glabels-batch/main.cpp index a89d045..8240d02 100644 --- a/glabels-batch/main.cpp +++ b/glabels-batch/main.cpp @@ -175,7 +175,7 @@ int main( int argc, char **argv ) } glabels::model::PageRenderer renderer( model ); - renderer.setNCopies( 1 ); + renderer.setNCopies( parser.value( "copies" ).toInt() ); renderer.setStartLabel( parser.value( "first" ).toInt() - 1 ); renderer.setPrintOutlines( parser.isSet( "outlines" ) ); renderer.setPrintCropMarks( parser.isSet( "crop-marks" ) );