mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #22: Fix compilation warnings
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user