Fix Mac native widgets to at least show up on Qt 4.8.
This commit is contained in:
parent
a57d947a33
commit
7e5eb1c220
|
@ -97,6 +97,7 @@ void SearchTargetWrapper::SetEnabled(bool enabled) {
|
|||
MacLineEdit::MacLineEdit(QWidget* parent)
|
||||
: QMacCocoaViewContainer(0, parent),
|
||||
LineEditInterface(this) {
|
||||
setAttribute(Qt::WA_PaintOnScreen);
|
||||
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
NSSearchField* search = [[NSSearchField alloc] init];
|
||||
|
|
Loading…
Reference in New Issue