From 8b0720fa2740489fe34c54648846fbb86f715eca Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 30 Jun 2005 03:51:31 +0000 Subject: [PATCH] Compiler errors (Qt without STL support). --- src/VISU_I/VISU_Gen_i.cc | 2 +- src/VISU_I/VISU_ViewManager_i.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VISU_I/VISU_Gen_i.cc b/src/VISU_I/VISU_Gen_i.cc index a6a49953..4d7154ac 100644 --- a/src/VISU_I/VISU_Gen_i.cc +++ b/src/VISU_I/VISU_Gen_i.cc @@ -757,7 +757,7 @@ namespace VISU{ for (SALOME_ListIteratorOfListIO it (aListIO); it.More(); it.Next()) { if (it.Value()->hasEntry()) { std::string aCurEntry (it.Value()->getEntry()); - if (aCurEntry != anEntry) { + if (aCurEntry != std::string( anEntry.in() ) ) { aNewListIO.Append(it.Value()); } } diff --git a/src/VISU_I/VISU_ViewManager_i.cc b/src/VISU_I/VISU_ViewManager_i.cc index e501ec10..9d037eb4 100644 --- a/src/VISU_I/VISU_ViewManager_i.cc +++ b/src/VISU_I/VISU_ViewManager_i.cc @@ -77,8 +77,8 @@ namespace VISU { void Execute() { - MESSAGE("Find application for study : " << myStudyName); - QString aStudyName (myStudyName); + MESSAGE( "Find application for study : " << myStudyName ); + QString aStudyName( myStudyName.c_str() ); SUIT_Session* aSession = SUIT_Session::session(); QPtrList anApplications = aSession->applications(); QPtrListIterator anIter (anApplications); -- 2.39.2