There was a connect to much, triggering a pages switch on mouse press.

Make Thorbjorn happy.  :)

Reviewed-by: ck
This commit is contained in:
kh1
2010-04-09 11:28:02 +02:00
parent 362628b9ae
commit a11df78318

View File

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