mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-03 04:37:33 +01:00
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);
|
||||
#else
|
||||
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, true);
|
||||
// Fixes focus issue with NSSearchField, see QTBUG-11401
|
||||
QCoreApplication::setAttribute(Qt::AA_NativeWindows, true);
|
||||
#endif
|
||||
|
||||
// Set the permissions on the config file on Unix - it can contain passwords
|
||||
|
Loading…
x
Reference in New Issue
Block a user