Fix error: conversion from '<brace-enclosed initializer list>' to 'QCommandLineOption' is ambiguous.

This commit is contained in:
Roman Telezhynskyi 2022-09-13 15:05:30 +03:00
parent c4e71a3f60
commit 9429be3e0d
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ void VPCommandLine::InitCommandLineOptions()
//=================================================================================================================
{{SINGLE_OPTION_CROP_LENGTH, LONG_OPTION_CROP_LENGTH},
translate("VCommandLine", "Auto crop unused length (export mode).")},
{{LONG_OPTION_CROP_WIDTH},
{LONG_OPTION_CROP_WIDTH,
translate("VCommandLine", "Auto crop unused width (export mode).")},
//=================================================================================================================
{LONG_OPTION_TILED_PDF_PAGE_TEMPLATE,

View File

@ -695,7 +695,7 @@ void VCommandLine::InitCommandLineOptions()
translate("VCommandLine", "Nest quantity copies of each piece (export mode).")},
{{SINGLE_OPTION_CROP_LENGTH, LONG_OPTION_CROP_LENGTH},
translate("VCommandLine", "Auto crop unused length (export mode).")},
{{LONG_OPTION_CROP_WIDTH},
{LONG_OPTION_CROP_WIDTH,
translate("VCommandLine", "Auto crop unused width (export mode).")},
{{SINGLE_OPTION_UNITE, LONG_OPTION_UNITE},
translate("VCommandLine", "Unite pages if possible (export mode). Maximum value limited by QImage that "