LocatorWidget: Fix hover effect

..by setting Qt::WA_Hover

Change-Id: If4b6e8d443a70e18796dd78b261495f2400db0f4
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-02-26 16:25:41 +01:00
parent ccf69b3495
commit 6ea9201f7b

View File

@@ -233,6 +233,7 @@ LocatorWidget::LocatorWidget(Locator *qop) :
// Explicitly hide the completion list popup.
m_completionList->hide();
setAttribute(Qt::WA_Hover);
setFocusProxy(m_fileLineEdit);
setWindowTitle(tr("Locate..."));
resize(200, 90);