Fix Qt bustage.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Oct 2006 06:06:22 +0000 (06:06 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Oct 2006 06:06:22 +0000 (06:06 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16876 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/platform/qt/ScrollViewQt.cpp

index 9d58b464379036a1ef0d4e62e85ab4810777b353..7ef67ddf25727d4794eb5837db5e98cd8c3fb940 100644 (file)
@@ -230,15 +230,11 @@ void ScrollView::setStaticBackground(bool flag)
     // no-op
 }
 
-void ScrollView::addChild(Widget* child, int x, int y)
+void ScrollView::addChild(Widget* child)
 {
     Q_ASSERT(child != 0);
     Q_ASSERT(m_area && m_area->widget());
 
-    // Ignore offscreen position initialization
-    if (x != -500000)
-        child->move(x, y);
-
     child->setParentWidget(m_area->widget());
 }