Issue #22: Fix compilation warnings

This commit is contained in:
Jakub Melka
2022-07-31 18:32:57 +02:00
parent b30150a503
commit e310efb763
70 changed files with 424 additions and 435 deletions

View File

@ -85,12 +85,12 @@ void MainWindow::on_actionAdd_JBIG2_image_triggered()
if (file.open(QFile::ReadOnly))
{
m_directory = QFileInfo(file).filePath();
QByteArray data = file.readAll();
QByteArray fileContentData = file.readAll();
file.close();
try
{
pdf::PDFJBIG2Decoder decoder(data, QByteArray(), this);
pdf::PDFJBIG2Decoder decoder(fileContentData, QByteArray(), this);
QElapsedTimer timer;
timer.start();