mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Add support for building with mingw-w64 GCC. Fix warnings
This commit is contained in:
committed by
Jakub Melka
parent
2c5aca7ea6
commit
d4ee4b890b
@ -35,9 +35,9 @@ ObjectViewerWidget::ObjectViewerWidget(QWidget *parent) :
|
||||
ObjectViewerWidget::ObjectViewerWidget(bool isPinned, QWidget* parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::ObjectViewerWidget),
|
||||
m_isPinned(isPinned),
|
||||
m_cms(nullptr),
|
||||
m_document(nullptr),
|
||||
m_isPinned(isPinned),
|
||||
m_isRootObject(false)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
@ -252,7 +252,7 @@ void ObjectViewerWidget::updateUi()
|
||||
ui->stackedWidget->setCurrentWidget(ui->contentTextBrowserPage);
|
||||
}
|
||||
}
|
||||
catch (pdf::PDFException exception)
|
||||
catch (const pdf::PDFException &exception)
|
||||
{
|
||||
ui->contentTextBrowser->setText(exception.getMessage());
|
||||
ui->stackedWidget->setCurrentWidget(ui->contentTextBrowserPage);
|
||||
|
Reference in New Issue
Block a user