Author: aschnell Date: Wed Jan 14 16:02:16 2009 New Revision: 54624 URL: http://svn.opensuse.org/viewcvs/yast?rev=54624&view=rev Log: - backup Modified: branches/tmp/aschnell/graph/qt-graph/src/YQGraph.cc Modified: branches/tmp/aschnell/graph/qt-graph/src/YQGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/qt-graph/src/YQGraph.cc?rev=54624&r1=54623&r2=54624&view=diff ============================================================================== --- branches/tmp/aschnell/graph/qt-graph/src/YQGraph.cc (original) +++ branches/tmp/aschnell/graph/qt-graph/src/YQGraph.cc Wed Jan 14 16:02:16 2009 @@ -56,14 +56,16 @@ YQGraph::YQGraph( YWidget * parent ) : QWidget( (QWidget *) parent->widgetRep() ), YGraph( parent ) -{ - button = new QPushButton(this); +{ + setWidgetRep( this ); + + button = new QPushButton((QWidget *) parent->widgetRep() ); yuiMilestone() << "Graph init done" << endl; } -int +int YQGraph::preferredWidth() { return std::max( 640, sizeHint().width() ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org