Fix QSearchField on macOS

This commit is contained in:
Jonas Kvinge
2021-03-15 22:38:06 +01:00
parent d84aebd8f4
commit f5bb15f72e
5 changed files with 32 additions and 14 deletions

View File

@@ -165,6 +165,12 @@ QString QSearchField::text() const {
}
void QSearchField::showEvent(QShowEvent *e) {
QWidget::showEvent(e);
}
void QSearchField::resizeEvent(QResizeEvent *resizeEvent) {
Q_ASSERT(pimpl && pimpl->clearbutton_ && pimpl->lineedit_);