From: vsr Date: Fri, 27 Jun 2008 09:20:44 +0000 (+0000) Subject: Avoid warning messages X-Git-Tag: TG_TRIPOLI_qt4_porting~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=697ba0ff132156e2af5641f66368305076d25861;p=modules%2Fgui.git Avoid warning messages --- diff --git a/src/Qtx/QtxPopupMgr.cxx b/src/Qtx/QtxPopupMgr.cxx index 36ecc8011..970b2676f 100644 --- a/src/Qtx/QtxPopupMgr.cxx +++ b/src/Qtx/QtxPopupMgr.cxx @@ -39,13 +39,10 @@ bool operator<( const QVariant& v1, const QVariant& v2 ) { case QVariant::Int: return v1.toInt() < v2.toInt(); - break; case QVariant::Double: return v1.toDouble() < v2.toDouble(); - break; case QVariant::String: return v1.toString() < v2.toString(); - break; case QVariant::StringList: case QVariant::List: { @@ -58,15 +55,12 @@ bool operator<( const QVariant& v1, const QVariant& v2 ) return (*anIt1)<(*anIt2); } return anIt1 == aLast1 && anIt2 != aLast2; - break; } default: return v1.toString() < v2.toString(); - break; } } - else - return t1 < t2; + return t1 < t2; } /*!