From: smh Date: Mon, 28 May 2007 12:10:03 +0000 (+0000) Subject: Fix compilation errors. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=566cbf18e95c87a2d55bbb535c60d94d0865def9;p=modules%2Ffilter.git Fix compilation errors. --- diff --git a/src/FILTERGUI/SelectField.cxx b/src/FILTERGUI/SelectField.cxx index fb1d318..a10c0b9 100644 --- a/src/FILTERGUI/SelectField.cxx +++ b/src/FILTERGUI/SelectField.cxx @@ -55,9 +55,9 @@ SelectField::SelectField(FilterGUI* theModule,const QString& file, QGroupBox* _GroupC1 = new QGroupBox( this, "GroupC1" ); _lay->addWidget( _GroupC1,0,0 ); - MESSAGE(basename(_file)); + MESSAGE(basename((char*)(_file.ascii()))); QString qs(tr("FILTER_FILE")); - qs.append(basename(_file)); + qs.append(basename((char*)(_file.ascii()))); _GroupC1->setTitle(qs); _GroupC1->setColumnLayout(0, Qt::Vertical ); _GroupC1->layout()->setSpacing( 0 ); diff --git a/src/FILTERGUI/SelectParams.cxx b/src/FILTERGUI/SelectParams.cxx index 742cc31..5d5e167 100644 --- a/src/FILTERGUI/SelectParams.cxx +++ b/src/FILTERGUI/SelectParams.cxx @@ -109,7 +109,7 @@ void SelectParams::buildFrame() int row = 0; QString qs1(tr("FILTER_INPUT_FILE")); - qs1.append(basename(_inputFile)); + qs1.append(basename((char*)(_inputFile.ascii()))); _myGroupLayout->addWidget( new QLabel( qs1, _GroupC1 ), row, 0 ); row++;