mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Remove compiler warnings caused by MESSAGE macro
This commit is contained in:
parent
cca99353e8
commit
bbdbca270f
@ -33,8 +33,6 @@
|
|||||||
|
|
||||||
#include "QAD_SpinBoxDbl.h"
|
#include "QAD_SpinBoxDbl.h"
|
||||||
|
|
||||||
#include <utilities.h>
|
|
||||||
|
|
||||||
SMESHGUI_aParameter::~SMESHGUI_aParameter() {}
|
SMESHGUI_aParameter::~SMESHGUI_aParameter() {}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
@ -139,7 +137,6 @@ SMESHGUI_strParameter::SMESHGUI_strParameter(const QString& theInitValue,
|
|||||||
:SMESHGUI_aParameter(theLabel),
|
:SMESHGUI_aParameter(theLabel),
|
||||||
_initValue( theInitValue )
|
_initValue( theInitValue )
|
||||||
{
|
{
|
||||||
MESSAGE("SMESHGUI_strParameter::SMESHGUI_strParameter")
|
|
||||||
}
|
}
|
||||||
SMESHGUI_aParameter::Type SMESHGUI_strParameter::GetType() const
|
SMESHGUI_aParameter::Type SMESHGUI_strParameter::GetType() const
|
||||||
{
|
{
|
||||||
@ -160,7 +157,6 @@ bool SMESHGUI_strParameter::GetNewText( QString & theValue ) const
|
|||||||
}
|
}
|
||||||
void SMESHGUI_strParameter::InitializeWidget( QWidget* theQWidget) const
|
void SMESHGUI_strParameter::InitializeWidget( QWidget* theQWidget) const
|
||||||
{
|
{
|
||||||
MESSAGE("SMESHGUI_strParameter::InitializeWidget")
|
|
||||||
QTextEdit * anEdit = dynamic_cast< QTextEdit *>( theQWidget );
|
QTextEdit * anEdit = dynamic_cast< QTextEdit *>( theQWidget );
|
||||||
if ( anEdit ) {
|
if ( anEdit ) {
|
||||||
anEdit->setText( _initValue );
|
anEdit->setText( _initValue );
|
||||||
@ -168,7 +164,6 @@ void SMESHGUI_strParameter::InitializeWidget( QWidget* theQWidget) const
|
|||||||
}
|
}
|
||||||
void SMESHGUI_strParameter::TakeValue( QWidget* theQWidget)
|
void SMESHGUI_strParameter::TakeValue( QWidget* theQWidget)
|
||||||
{
|
{
|
||||||
MESSAGE("SMESHGUI_strParameter::TakeValue")
|
|
||||||
QTextEdit * anEdit = dynamic_cast< QTextEdit *>( theQWidget );
|
QTextEdit * anEdit = dynamic_cast< QTextEdit *>( theQWidget );
|
||||||
if ( anEdit )
|
if ( anEdit )
|
||||||
_newValue = anEdit->text();
|
_newValue = anEdit->text();
|
||||||
|
Loading…
Reference in New Issue
Block a user