Changeset 57972 in webkit


Ignore:
Timestamp:
Apr 21, 2010 6:08:13 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-21 Shu Chang <chang.shu@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Fix Symbian build where QT_NO_SYSTEMTRAYICON is defined.
https://bugs.webkit.org/show_bug.cgi?id=37442

  • WebCoreSupport/NotificationPresenterClientQt.cpp: (NotificationPresenterClientQt::show):
  • WebCoreSupport/NotificationPresenterClientQt.h:
Location:
trunk/WebKit/qt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r57966 r57972  
     12010-04-21  Shu Chang  <chang.shu@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Fix Symbian build where QT_NO_SYSTEMTRAYICON is defined.
     6        https://bugs.webkit.org/show_bug.cgi?id=37442
     7
     8        * WebCoreSupport/NotificationPresenterClientQt.cpp:
     9        (NotificationPresenterClientQt::show):
     10        * WebCoreSupport/NotificationPresenterClientQt.h:
     11
    1122010-04-21  Eric Seidel  <eric@webkit.org>
    213
  • trunk/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp

    r57604 r57972  
    6868        }
    6969    }
    70            
     70
     71#ifndef QT_NO_SYSTEMTRAYICON
    7172    m_tray.show();
    7273    m_tray.showMessage(notification->contents().title(), notification->contents().body(), QSystemTrayIcon::Information);
    73 
     74#endif
    7475    return true;
    7576}
  • trunk/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.h

    r57408 r57972  
    5353
    5454private:
     55#ifndef QT_NO_SYSTEMTRAYICON
    5556    QSystemTrayIcon m_tray;
     57#endif
    5658};
    5759}
Note: See TracChangeset for help on using the changeset viewer.