MSVC warning.

This commit is contained in:
Roman Telezhynskyi 2023-06-24 19:21:21 +03:00
parent 1fb9d82f61
commit 49632e8f11

View File

@ -2561,7 +2561,7 @@ auto VPMainWindow::GeneratePdfTiledFile(const VPSheetPtr &sheet, const VPExportD
sheet->SceneData()->SetTextAsPaths(data.textAsPaths);
auto Clean = qScopeGuard(
[sheet, data]()
[sheet]()
{
sheet->SceneData()->SetTextAsPaths(false);
sheet->SceneData()->CleanAfterExport(); // Will restore the grainlines automatically