Fix the problem that ui responded incorrectly while regaining focus.
This commit is contained in:
parent
37ab793367
commit
f12b8385a0
|
@ -174,6 +174,8 @@ void SearchResultPage::initUi()
|
|||
// m_splitter->move(this->rect().topLeft().x() + 18, this->rect().topLeft().y() + 18);
|
||||
m_resultArea = new ResultArea(this);
|
||||
m_detailArea = new DetailArea(this);
|
||||
m_resultArea->setFocusPolicy(Qt::NoFocus);
|
||||
m_detailArea->setFocusPolicy(Qt::NoFocus);
|
||||
|
||||
m_hlayout->addWidget(m_resultArea);
|
||||
m_hlayout->addWidget(m_detailArea);
|
||||
|
|
Loading…
Reference in New Issue