diff options
| author | Armin Berres <armin.berres@basyskom.de> | 2011-05-02 15:17:39 +0200 |
|---|---|---|
| committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-10 12:54:54 +0200 |
| commit | 0b2f70a5de4e7a71da85dac1626a902259042d60 (patch) | |
| tree | bbb5cf32862c8d4a86232111b2002fdc58a6faeb /qmake/generators/unix/unixmake2.cpp | |
| parent | f1e0993419baded4e4cacbf1ad7e37477f375c94 (diff) | |
Only cleanup share widget if it has been created.
Without this change a not yet created share widget is created
once qt_destroy_gl_share_widget() is called. As creating the
widget also triggers a call to qt_cleanup_gl_share_widget() once
QApplication is destroyed a QApplication created afterwards
cannot use a share widget anymore.
This functionality is needed for Harmattan.
Merge-request: 2609
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
(cherry picked from commit 8680d831fb7066feae07690a4a6bc8e908a84e5a)
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
0 files changed, 0 insertions, 0 deletions
