mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-09 06:52:50 -04:00
Fix issues with PopupHelpWidget on Linux and macOS
* Clean up parent alignment code * Don't hide widget if it currently has focus * Use Qt::Tool window type on macOS as well. This prevents the popup help from hiding to the background if the main window has focus. * Fixes #2814
This commit is contained in:
parent
e26063a872
commit
50e52df04b
4 changed files with 18 additions and 84 deletions
|
@ -38,7 +38,6 @@ SearchWidget::SearchWidget(QWidget* parent)
|
|||
setFocusProxy(m_ui->searchEdit);
|
||||
|
||||
m_helpWidget = new PopupHelpWidget(m_ui->searchEdit);
|
||||
m_helpWidget->setOffset(QPoint(0, 1));
|
||||
Ui::SearchHelpWidget helpUi;
|
||||
helpUi.setupUi(m_helpWidget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue