From: Bradley T. Hughes Date: Tue, 14 Feb 2012 06:48:34 +0000 (+0100) Subject: Compile X-Git-Tag: qt-v5.0.0-alpha1~1103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a99a42adb865ee58aed023822a1b784338eed8b;p=profile%2Fivi%2Fqtbase.git Compile mHackedPanel is not declared anywhere in the Cocoa dialog helpers. Change-Id: I3ba5dd429aa9fe5833b19c1e081425ec4020658d Reviewed-by: Bradley T. Hughes --- diff --git a/src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm b/src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm index f1d6129..bfc626f 100644 --- a/src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm @@ -226,7 +226,6 @@ static NSButton *macCreateButton(const char *text, NSView *superview) - (void)onOkClicked { - Q_ASSERT(mHackedPanel); [mColorPanel close]; [self updateQtColor]; [self finishOffWithCode:NSOKButton]; diff --git a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm index 5d40e5c..d05a015 100644 --- a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm @@ -260,7 +260,6 @@ static QFont qfontForCocoaFont(NSFont *cocoaFont, const QFont &resolveFont) - (void)onOkClicked { - Q_ASSERT(mHackedPanel); [mFontPanel close]; [self finishOffWithCode:NSOKButton]; }