Changeset 54854 in webkit


Ignore:
Timestamp:
Feb 16, 2010 6:11:38 PM (14 years ago)
Author:
ariya@webkit.org
Message:

2010-02-16 Ariya Hidayat <ariya.hidayat@gmail.com>

Reviewed by Laszlo Gombos.

Fix building with Qt < 4.6.
https://bugs.webkit.org/show_bug.cgi?id=34885

  • Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qgraphicswebview.cpp

    r54767 r54854  
    321321            page->setPreferredContentsSize(QSize(960, 800));
    322322
     323#if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0)
    323324        QObject::connect(page->mainFrame(), SIGNAL(contentsSizeChanged(QSize)),
    324325            q, SLOT(_q_contentsSizeChanged(const QSize&)), Qt::UniqueConnection);
     326#else
     327        QObject::connect(page->mainFrame(), SIGNAL(contentsSizeChanged(QSize)),
     328            q, SLOT(_q_contentsSizeChanged(const QSize&)));
     329#endif
    325330    } else {
    326331        QObject::disconnect(page->mainFrame(), SIGNAL(contentsSizeChanged(QSize)),
  • trunk/WebKit/qt/ChangeLog

    r54816 r54854  
     12010-02-16  Ariya Hidayat  <ariya.hidayat@gmail.com>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        Fix building with Qt < 4.6.
     6        https://bugs.webkit.org/show_bug.cgi?id=34885
     7
     8        * Api/qgraphicswebview.cpp:
     9        (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
     10
    1112010-02-16  Simon Hausmann  <simon.hausmann@nokia.com>
    212
Note: See TracChangeset for help on using the changeset viewer.