]> SALOME platform Git repositories - modules/filter.git/commitdiff
Salome HOME
Fix compilation errors.
authorsmh <smh@opencascade.com>
Mon, 28 May 2007 12:10:03 +0000 (12:10 +0000)
committersmh <smh@opencascade.com>
Mon, 28 May 2007 12:10:03 +0000 (12:10 +0000)
src/FILTERGUI/SelectField.cxx
src/FILTERGUI/SelectParams.cxx

index fb1d3183203fc7927b1908e083a96debf964c002..a10c0b9120989d7f15aff19a1cd1f1e4b75fe3da 100644 (file)
@@ -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 );
index 742cc31712000055d340aeac4d0f271e9a38a902..5d5e167122ede322ac0bb036a2702b93bff9d048 100644 (file)
@@ -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++;