Object loading

This commit is contained in:
Jakub Melka
2018-11-25 14:48:08 +01:00
parent 8c93c82228
commit 89d4ee606b
12 changed files with 234 additions and 18 deletions

View File

@ -37,7 +37,7 @@ void PDFViewerMainWindow::onActionOpenTriggered()
}
else
{
QMessageBox::information(this, tr("PDF Reader"), tr("Document read error: %1").arg(fileName));
QMessageBox::information(this, tr("PDF Reader"), tr("Document read error: %1").arg(reader.getErrorMessage()));
}
}
}