Changeset 63738 in webkit


Ignore:
Timestamp:
Jul 20, 2010 4:46:06 AM (14 years ago)
Author:
andreas.kling@nokia.com
Message:

2010-07-20 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] DRT sideeffect revealed by r63657
https://bugs.webkit.org/show_bug.cgi?id=42578

Don't set an automatic timeout for notifications when running in DRT.
This fixes an issue with cancel() notifications in unrelated tests.

  • WebCoreSupport/NotificationPresenterClientQt.cpp: (WebCore::NotificationPresenterClientQt::displayNotification):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r63641 r63738  
     12010-07-20  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] DRT sideeffect revealed by r63657
     6        https://bugs.webkit.org/show_bug.cgi?id=42578
     7
     8        Don't set an automatic timeout for notifications when running in DRT.
     9        This fixes an issue with cancel() notifications in unrelated tests.
     10
     11        * WebCoreSupport/NotificationPresenterClientQt.cpp:
     12        (WebCore::NotificationPresenterClientQt::displayNotification):
     13
    1142010-07-18  Andreas Kling  <andreas.kling@nokia.com>
    215
  • trunk/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp

    r62939 r63738  
    184184    if (!wrapper->m_presenter) {
    185185#ifndef QT_NO_SYSTEMTRAYICON
    186         wrapper->m_closeTimer.startOneShot(notificationTimeout);
     186        if (!dumpNotification)
     187            wrapper->m_closeTimer.startOneShot(notificationTimeout);
    187188        QPixmap pixmap;
    188189        if (bytes.length() && pixmap.loadFromData(bytes)) {
Note: See TracChangeset for help on using the changeset viewer.