[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/nsplugins
From: George Staikos <staikos () kde ! org>
Date: 2005-02-21 10:31:22
Message-ID: 20050221103122.684061BBFB () office ! kde ! org
[Download RAW message or body]
CVS commit by staikos:
workaround bug in crossover? The quicktime plugin gets very confused if we
resize it twice. First we do show(), then resize() to the right size, and the
initial show gives a size of 100x30. The result was quicktime being offset by
some strange amount to the top-left. This patch avoids resize()ing the plugin
when the widget isn't yet visible.
CCMAIL: fgouget@codeweavers.com
M +3 -1 nspluginloader.cpp 1.38
--- kdebase/nsplugins/nspluginloader.cpp #1.37:1.38
@@ -80,5 +80,7 @@ void NSPluginInstance::resizeEvent(QResi
return;
EMBEDCLASS::resizeEvent(event);
+ if (isVisible()) {
resizePlugin(width(), height());
+ }
kdDebug() << "NSPluginInstance(client)::resizeEvent" << endl;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic