798
798
for (int i = 0; i < m_sections->rowCount(); ++i) {
799
799
QAction* section = new QAction(m_menu);
801
804
section->setProperty(SECTION_PROPERTY, QVariant(i));
802
805
m_menu->addAction(section);
803
806
QObject::connect(section, SIGNAL(triggered()), this, SLOT(onSectionTriggered()));