~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/formfieldwidgets.cpp

  • Committer: Adam Reichold
  • Date: 2017-05-01 20:35:45 UTC
  • Revision ID: adam.reichold@t-online.de-20170501203545-qsya82y2ace16x2b
Fix building with Qt4 after latest round of merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
    if(!m_formField->currentChoices().isEmpty())
130
130
    {
131
 
        setCurrentIndex(m_formField->currentChoices().constFirst());
 
131
        setCurrentIndex(m_formField->currentChoices().at(0));
132
132
    }
133
133
 
134
134
    connect(this, SIGNAL(currentIndexChanged(int)), SLOT(on_currentIndexChanged(int)));