diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2012-08-13 16:00:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 13:41:01 +0200 |
commit | a59906e0f3f620d9241e27e7f13aa620a58c6df9 (patch) | |
tree | a613a7dd5d0944309c260d5d75176e96589f74b9 /src/plugins/bearer | |
parent | 46bef9f29ff6fa85a1ab5d943daa23d5f8015f1d (diff) |
Fix a bunch of Mac/clang specific warnings
Change-Id: I0ecc67d58fb7e727a88a5f546eeca01ff7554502
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r-- | src/plugins/bearer/corewlan/qcorewlanengine.mm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm index 41f817f5fc..17981dcb85 100644 --- a/src/plugins/bearer/corewlan/qcorewlanengine.mm +++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm @@ -79,6 +79,7 @@ - (void)notificationHandler;//:(NSNotification *)notification; - (void)remove; - (void)setEngine:(QCoreWlanEngine *)coreEngine; +- (QCoreWlanEngine *)engine; - (void)dealloc; @property (assign) QCoreWlanEngine* engine; @@ -86,7 +87,6 @@ @end @implementation QT_MANGLE_NAMESPACE(QNSListener) -@synthesize engine; - (id) init { @@ -113,6 +113,11 @@ [locker unlock]; } +-(QCoreWlanEngine *)engine +{ + return engine; +} + -(void)remove { [locker lock]; |