Salome HOME
Porting to SALOME_8.2.0
[modules/shaper.git] / src / XGUI / XGUI_ObjectsBrowser.cpp
index eb40a0a9c6f949bbde3ccd9938636c7ab46a5171..2ac7f97d9f484539ba119346ef34cbad3fa75c58 100644 (file)
@@ -213,10 +213,10 @@ void XGUI_TreeViewStyle::drawPrimitive(PrimitiveElement theElement,
         aState &= ~QStyle::State_MouseOver;
       QStyleOptionViewItemV4* aOpt = (QStyleOptionViewItemV4*) aOptions;
       aOpt->state = aState;
-      QWindowsVistaStyle::drawPrimitive(theElement, aOpt, thePainter, theWidget);
+      QCommonStyle/*QWindowsVistaStyle*/::drawPrimitive(theElement, aOpt, thePainter, theWidget);
     }
   }
-  QWindowsVistaStyle::drawPrimitive(theElement, theOption, thePainter, theWidget);
+  QCommonStyle/*QWindowsVistaStyle*/::drawPrimitive(theElement, theOption, thePainter, theWidget);
 }
 #endif