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);