diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2011-03-09 20:49:32 +0100 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2011-03-09 20:49:32 +0100 |
commit | 93c25e100ae2564b9a866b95bed16d2fac619bd7 (patch) | |
tree | f99a01041dac486128a0f68f65fc624d45e49670 /qt4 | |
parent | 59fb0489bfabfd8acccafdcd0361ce005664962a (diff) |
forms: Rename FormField::createActivationAction() to FormField::getActivationAction()
And use the existing action from the AnnotWidget instead of creating a
new one.
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/src/poppler-form.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt4/src/poppler-form.cc b/qt4/src/poppler-form.cc index 77afccab..596ccb00 100644 --- a/qt4/src/poppler-form.cc +++ b/qt4/src/poppler-form.cc @@ -156,10 +156,9 @@ bool FormField::isVisible() const Link* FormField::activationAction() const { Link* action = 0; - if (::LinkAction *act = m_formData->fm->createActivationAction(m_formData->doc->doc->getCatalog())) + if (::LinkAction *act = m_formData->fm->getActivationAction()) { action = PageData::convertLinkActionToLink(act, m_formData->doc, QRectF()); - delete act; } return action; } |