FIx tidal search field not showing on macOS
This commit is contained in:
parent
c7bc9d471a
commit
4983c1cfc9
|
@ -252,6 +252,7 @@ void InternetSearchView::ReloadSettings() {
|
|||
s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
|
||||
int iconsize = s.value(AppearanceSettingsPage::kIconSizeConfigureButtons, 20).toInt();
|
||||
s.endGroup();
|
||||
|
||||
ui_->settings->setIconSize(QSize(iconsize, iconsize));
|
||||
ui_->search->setIconSize(iconsize);
|
||||
|
||||
|
@ -260,7 +261,10 @@ void InternetSearchView::ReloadSettings() {
|
|||
void InternetSearchView::showEvent(QShowEvent *e) {
|
||||
|
||||
QWidget::showEvent(e);
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
FocusSearchField();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue