[PATCH] qt3-win translatePaintEvent and wakeUp

Michal Mecinski mimec at mimec.org
Mon Jan 16 18:16:55 CET 2006


Hello,

Here are two patches attached.

src/kernel/qapplication_win.cpp

Don't erase the widget's background in QETWidget::translatePaintEvent() if it 
has the WNoAutoErase flag set.

src/kernel/qeventloop_win.cpp
src/kernel/qeventloop_win_utils.cpp

Fixed QEventLoop::wakeUp() to wake the gui thread, not the current thread from 
which the function was called.

I also found a weird bug I wasn't able to fix. When a QGLWidget-derived widget 
is created as a tab of a QTabWidget, it's not visible. However it's displayed 
correctly when it's wrapped in another widget (for example a QHBox).

-- 
Regards,
Michal Mecinski (www.mimec.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: application.patch
Type: text/x-diff
Size: 850 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20060117/2de46390/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eventloop.patch
Type: text/x-diff
Size: 1642 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20060117/2de46390/attachment-0001.bin 


More information about the kde-cygwin mailing list