Parent Directory | Revision Log | Patch
revision 1.1 by smarothy, Thu Aug 11 17:06:48 2005 UTC | revision 1.2 by smarothy, Sun Aug 21 00:19:49 2005 UTC | |
---|---|---|
# | Line 101 AWTResizeEvent::AWTResizeEvent(QWidget * | Line 101 AWTResizeEvent::AWTResizeEvent(QWidget * |
101 | ||
102 | void AWTResizeEvent::runEvent() | void AWTResizeEvent::runEvent() |
103 | { | { |
104 | widget->setGeometry( x, y, w, h ); | QRect g = widget->geometry(); |
105 | if(g.x() != x || g.y() != y || g.width() != w || g.height() != h) | |
106 | widget->setGeometry( x, y, w, h ); | |
107 | } | } |
108 | ||
109 | AWTBackgroundEvent::AWTBackgroundEvent(QWidget *wid, bool fg, QColor *clr) | AWTBackgroundEvent::AWTBackgroundEvent(QWidget *wid, bool fg, QColor *clr) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |