Commit a11df783 authored by kh1's avatar kh1
Browse files

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

Make Thorbjorn happy.  :)

Reviewed-by: ck
parent 362628b9
...@@ -69,8 +69,6 @@ OpenPagesManager::OpenPagesManager(QObject *parent) ...@@ -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)));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment