From: stv Date: Tue, 26 Sep 2006 08:56:24 +0000 (+0000) Subject: One iheritance level was missed in virtual method setColumnWidth() (Now QListView... X-Git-Tag: For_CTH_V1_2a~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08a6586b903c764c82b9dc791b3f31ed613fe5b1;p=modules%2Fgui.git One iheritance level was missed in virtual method setColumnWidth() (Now QListView was replaced by QtxListView) --- diff --git a/src/ObjBrowser/OB_ListView.cxx b/src/ObjBrowser/OB_ListView.cxx index ebcd5c879..728e12c27 100755 --- a/src/ObjBrowser/OB_ListView.cxx +++ b/src/ObjBrowser/OB_ListView.cxx @@ -222,9 +222,10 @@ bool OB_ListView::isDropAccepted( QListViewItem* drag, QListViewItem* drop ) con void OB_ListView::setColumnWidth( int col, int width ) { int max = columnMaxWidth( col ); - if( max>0 && width>max ) + if ( max>0 && width>max ) width = max; - QListView::setColumnWidth( col, width ); + + QtxListView::setColumnWidth( col, width ); } /*!