From: adam Date: Tue, 2 Feb 2010 11:03:30 +0000 (+0000) Subject: Werror X-Git-Tag: V5_1_4a1~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d92eacd83570b2e5fe748d05a6b54cc866eebdf;p=modules%2Fgui.git Werror --- diff --git a/src/QDS/QDS_ComboBox.cxx b/src/QDS/QDS_ComboBox.cxx index e7c289027..a2a26f279 100644 --- a/src/QDS/QDS_ComboBox.cxx +++ b/src/QDS/QDS_ComboBox.cxx @@ -335,7 +335,6 @@ void QDS_ComboBox::setValues( const QStringList& names ) */ void QDS_ComboBox::reset() { - int id = -1; QString aDefValue = defaultValue(); if ( !aDefValue.isEmpty() ) setString( aDefValue ); diff --git a/src/Qtx/QtxDockWidget.cxx b/src/Qtx/QtxDockWidget.cxx index a7adfc5d1..1adcca765 100644 --- a/src/Qtx/QtxDockWidget.cxx +++ b/src/Qtx/QtxDockWidget.cxx @@ -218,13 +218,13 @@ void QtxDockWidget::Watcher::hideContainer() */ void QtxDockWidget::Watcher::customEvent( QEvent* e ) { - if ( e->type() == Update ) + if ( e->type() == (QEvent::Type)Update ) { updateIcon(); updateCaption(); updateVisibility(); } - else if ( myCont && e->type() == Remove && !myCont->widget() ) + else if ( myCont && e->type() == (QEvent::Type)Remove && !myCont->widget() ) { myCont->deleteLater(); myCont = 0;