Changeset 856 for trunk/src/gui


Ignore:
Timestamp:
May 14, 2011, 12:39:34 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Implemented QSystemTrayIconPrivate::supportsMessages_sys() for OS/2 and fixed the annoying strict-aliasing breakage warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/util/qsystemtrayicon_pm.cpp

    r838 r856  
    308308}
    309309
     310
     311
     312
    310313bool QSystemTrayIconPrivate::isSystemTrayAvailable_sys()
    311314{
     
    317320        QLibrary xsystray(QLatin1String("xsystray"));
    318321
    319         #define R(f) if ((*((void **)&f) = xsystray.resolve(#f)) == NULL) return false
     322        #define R(f) if ( xsystray.resolve(#f)) == NULL) return false
    320323
    321324        R(xstQuerySysTrayVersion);
     
    340343}
    341344
     345
     346
     347
     348
     349
    342350QT_END_NAMESPACE
    343351
Note: See TracChangeset for help on using the changeset viewer.