From 08a6586b903c764c82b9dc791b3f31ed613fe5b1 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 26 Sep 2006 08:56:24 +0000 Subject: [PATCH] One iheritance level was missed in virtual method setColumnWidth() (Now QListView was replaced by QtxListView) --- src/ObjBrowser/OB_ListView.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ); } /*! -- 2.39.2