Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Nov 11, 2018
1 parent 9a342ca commit 68280c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nfd/PluginMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ void PluginMainWindow::on_pushButtonScan_clicked()

if(sFileName!="")
{
QList<SpecAbstract::SCAN_RESULT> listResult;
SpecAbstract::SCAN_RESULT scanResult;

SpecAbstract::SCAN_OPTIONS options= {0};
options.bScanOverlay=ui->checkBoxScanOverlay->isChecked();
options.bDeepScan=ui->checkBoxDeepScan->isChecked();

DialogStaticScan ds(this);
ds.setData(sFileName,&options,&listResult);
ds.setData(sFileName,&options,&scanResult);
ds.exec();

ui->treeViewResult->setModel(new StaticScanItemModel(&listResult));
ui->treeViewResult->setModel(new StaticScanItemModel(&scanResult.listRecords));
ui->treeViewResult->expandAll();
}
}
Expand Down

0 comments on commit 68280c7

Please # to comment.