]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
One iheritance level was missed in virtual method setColumnWidth() (Now QListView...
authorstv <stv@opencascade.com>
Tue, 26 Sep 2006 08:56:24 +0000 (08:56 +0000)
committerstv <stv@opencascade.com>
Tue, 26 Sep 2006 08:56:24 +0000 (08:56 +0000)
src/ObjBrowser/OB_ListView.cxx

index ebcd5c87947e1f78c986700583fcccadeac4b9cc..728e12c278ca6eca8df4db1a3496cdc5b860e0b5 100755 (executable)
@@ -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 );
 }
 
 /*!