Skip to content

Commit

Permalink
The signals for changing the checkbox/radiobutton svg and enabling fo…
Browse files Browse the repository at this point in the history
…rm fields were not being connected when using the C bindings
  • Loading branch information
poizan42 committed Oct 30, 2018
1 parent 39d2b29 commit 246098d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/pdf_c_bindings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ MyPdfConverter::MyPdfConverter(settings::PdfGlobal * gs):
this,
&MyPdfConverter::networkRequest,
Qt::DirectConnection);

connect(&converter, SIGNAL(producingForms(bool)), a->style(), SLOT(producingForms(bool)));
connect(&converter, SIGNAL(checkboxSvgChanged(const QString &)), a->style(), SLOT(setCheckboxSvg(const QString &)));
connect(&converter, SIGNAL(checkboxCheckedSvgChanged(const QString &)), a->style(), SLOT(setCheckboxCheckedSvg(const QString &)));
connect(&converter, SIGNAL(radiobuttonSvgChanged(const QString &)), a->style(), SLOT(setRadioButtonSvg(const QString &)));
connect(&converter, SIGNAL(radiobuttonCheckedSvgChanged(const QString &)), a->style(), SLOT(setRadioButtonCheckedSvg(const QString &)));
}

MyPdfConverter::~MyPdfConverter() {
Expand Down

0 comments on commit 246098d

Please sign in to comment.