Skip to content

Commit

Permalink
Background thread for import. (#582)
Browse files Browse the repository at this point in the history
Improve progress bar for import.

Signed-off-by: Alexander Wenzel <[email protected]>
  • Loading branch information
alexmucde authored Nov 18, 2024
1 parent 93f6fe4 commit d52eced
Show file tree
Hide file tree
Showing 5 changed files with 249 additions and 219 deletions.
8 changes: 4 additions & 4 deletions commander/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ int main(int argc, char *argv[])
for ( const auto& i : mf4Files )
{
qDebug() << "Import MF4 File:" << i;
QDltImporter importer;
importer.dltIpcFromMF4(outputfile,i,0,false);
QDltImporter importer(&outputfile);
importer.dltIpcFromMF4(i);
}
// load PCAP files
QStringList pcapFiles = opt.getPcapFiles();
Expand All @@ -78,8 +78,8 @@ int main(int argc, char *argv[])
for ( const auto& i : pcapFiles )
{
qDebug() << "Import PCAP File:" << i;
QDltImporter importer;
importer.dltIpcFromPCAP(outputfile,i,0,false);
QDltImporter importer(&outputfile);
importer.dltIpcFromPCAP(i);
}
}

Expand Down
Loading

0 comments on commit d52eced

Please sign in to comment.