From 9f2a6dfff8e54ca62ee1e79d5b777b706e361da3 Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Thu, 26 May 2022 11:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E8=89=B2=E4=BD=8D?= =?UTF-8?q?=E5=9B=BE=E5=A4=84=E7=90=86=EF=BC=8C=E6=8E=A5=E5=8F=A3=E5=8F=98?= =?UTF-8?q?=E5=8C=96=E5=90=8E=EF=BC=8Capp=E8=B0=83=E7=94=A8=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index 30828b88..ed54f6ad 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -2710,7 +2710,7 @@ void MainWindow::on_act_imageEdit_triggered() info.origin = HGBASE_IMGORIGIN_TOP; HGImage img = nullptr; - HGBase_CreateImageWithData((HGByte *)image.bits(), &info, nullptr, &img); + HGBase_CreateImageWithData((HGByte *)image.bits(), &info, &img); if (nullptr != img) { m_view->addImage(img);