mHackedPanel is not declared anywhere in the Cocoa dialog helpers.

Change-Id: I3ba5dd429aa9fe5833b19c1e081425ec4020658d
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
Bradley T. Hughes 2012-02-14 07:48:34 +01:00 committed by Qt by Nokia
parent bfec6b9a7d
commit 4a99a42adb
2 changed files with 0 additions and 2 deletions

View File

@ -226,7 +226,6 @@ static NSButton *macCreateButton(const char *text, NSView *superview)
- (void)onOkClicked
{
Q_ASSERT(mHackedPanel);
[mColorPanel close];
[self updateQtColor];
[self finishOffWithCode:NSOKButton];

View File

@ -260,7 +260,6 @@ static QFont qfontForCocoaFont(NSFont *cocoaFont, const QFont &resolveFont)
- (void)onOkClicked
{
Q_ASSERT(mHackedPanel);
[mFontPanel close];
[self finishOffWithCode:NSOKButton];
}