Fix warning as seen by fkleint about missing stack widget item.

This commit is contained in:
kh1
2010-03-31 13:15:04 +02:00
parent 9c0478c390
commit d97bdd1af6

View File

@@ -69,8 +69,9 @@ OpenPagesManager::OpenPagesManager(QObject *parent)
m_comboBox = new QComboBox;
m_comboBox->setModel(m_model);
m_comboBox->setMinimumContentsLength(40);
connect(m_comboBox, SIGNAL(currentIndexChanged(int)), this,
SLOT(setCurrentPage(int)));
connect(m_comboBox->view(), SIGNAL(pressed(QModelIndex)), this,
SLOT(setCurrentPage(QModelIndex)));
connect(m_comboBox, SIGNAL(activated(int)), this, SLOT(setCurrentPage(int)));
}
OpenPagesManager &OpenPagesManager::instance()