Force native windows on OS X to mostly fix focus issue with NSSearchField.
See QTBUG-11401.
This commit is contained in:
parent
5e685b2b14
commit
4da488d6f0
@ -332,6 +332,8 @@ int main(int argc, char *argv[]) {
|
|||||||
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);
|
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);
|
||||||
#else
|
#else
|
||||||
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, true);
|
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, true);
|
||||||
|
// Fixes focus issue with NSSearchField, see QTBUG-11401
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_NativeWindows, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Set the permissions on the config file on Unix - it can contain passwords
|
// Set the permissions on the config file on Unix - it can contain passwords
|
||||||
|
Loading…
x
Reference in New Issue
Block a user