Compile.
QNSPanel must be a NSPanel and not a QNSWindow subclass. Change-Id: I1de31e147757824610f4aabc0ef66ae3906dc0f6 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
582bb9e467
commit
95c007e1f5
@ -60,10 +60,10 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
@end
|
||||
|
||||
@interface QNSPanel : QNSWindow {
|
||||
@interface QNSPanel : NSPanel {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)canBecomeKeyWindow;
|
||||
@end
|
||||
|
||||
class QCocoaWindow : public QPlatformWindow
|
||||
|
@ -69,6 +69,11 @@
|
||||
|
||||
@implementation QNSPanel
|
||||
|
||||
- (BOOL)canBecomeKeyWindow
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
QCocoaWindow::QCocoaWindow(QWindow *tlw)
|
||||
|
Loading…
Reference in New Issue
Block a user