Author: dmacvicar Date: Sat Apr 12 23:30:46 2008 New Revision: 46485 URL: http://svn.opensuse.org/viewcvs/yast?rev=46485&view=rev Log: - remove unneeded layout to save space - remove dead code Modified: trunk/qt-pkg/src/YQPkgPatchFilterView.cc Modified: trunk/qt-pkg/src/YQPkgPatchFilterView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchFilterView.cc?rev=46485&r1=46484&r2=46485&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgPatchFilterView.cc (original) +++ trunk/qt-pkg/src/YQPkgPatchFilterView.cc Sat Apr 12 23:30:46 2008 @@ -84,39 +84,12 @@ connect( _patchFilter, SIGNAL( activated( int ) ), this, SLOT( fillPatchList() ) ); - QWidget *down_box = new QWidget( _splitter ); - vbox = new QVBoxLayout( down_box ); Q_CHECK_PTR( vbox ); - - _detailsViews = new QTabWidget( down_box ); Q_CHECK_PTR( _detailsViews ); - vbox->addWidget(_detailsViews); - + _detailsViews = new QTabWidget( _splitter ); Q_CHECK_PTR( _detailsViews ); + _descriptionView = new YQPkgDescriptionView( _detailsViews ); Q_CHECK_PTR( _descriptionView ); _detailsViews->addTab( _descriptionView, _( "Patch Description" ) ); - -#if ENABLE_TOTAL_DOWNLOAD_SIZE - // - // HBox for total download size - // - - hbox = new QHBoxLayout(); Q_CHECK_PTR( hbox ); - vbox->addLayout(hbox); - - hbox->addWidget(new QLabel( _( "Estimated Download Size:" ) + " ", this )); - _totalDownloadSize = new QLabel( FSize(0).asString().c_str(), this ); - hbox->addWidget(_totalDownloadSize); - Q_CHECK_PTR( _totalDownloadSize ); - - - // Give the total download size a 3D look - - _totalDownloadSize->setFrameStyle( Q3Frame::Panel | Q3Frame::Sunken ); - _totalDownloadSize->setLineWidth(1); - _totalDownloadSize->setMidLineWidth(2); -#endif - - connect( _patchList, SIGNAL( currentItemChanged ( ZyppSel ) ), _descriptionView, SLOT ( showDetailsIfVisible( ZyppSel ) ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org