~phablet-team/phablet-extras/qt-gstreamer

« back to all changes in this revision

Viewing changes to elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp

  • Committer: Tarmac
  • Author(s): Gustavo Pichorim Boiko
  • Date: 2013-01-31 16:24:04 UTC
  • mfrom: (10.1.9 qt-gstreamer-qt5_final)
  • Revision ID: tarmac-20130131162404-egr3w29y15000cmi
Make it work with Qt5 final.

Approved by Renato Araujo Oliveira Filho, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        m_widget.data()->setAttribute(Qt::WA_OpaquePaintEvent, m_opaquePaintEventAttribute);
44
44
        m_widget.data()->update();
45
45
 
46
 
        m_widget = QWeakPointer<QWidget>();
 
46
        m_widget = NULL;
47
47
    }
48
48
 
49
49
    if (widget) {