forked from openkylin/ukui-search
修复标题栏展开置顶后,点击收回位置错误问题
This commit is contained in:
parent
7909eb3ba0
commit
1512502cea
|
@ -510,8 +510,9 @@ void ResultArea::setupConnectionsForWidget(ResultWidget *widget)
|
|||
});
|
||||
connect(widget, &ResultWidget::retractClicked, this, [=] () {//点击收起搜索结果后
|
||||
if (!m_titleLabel->isHidden()) {
|
||||
m_titleLabel->hide();
|
||||
this->setViewportMargins(0,0,0,0);
|
||||
this->verticalScrollBar()->setValue(widget->pos().ry());
|
||||
m_titleLabel->hide();
|
||||
}
|
||||
});
|
||||
connect(widget, &ResultWidget::sendBestListData, m_bestListWidget, &BestListWidget::sendBestListData);
|
||||
|
|
Loading…
Reference in New Issue