X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FQT%2FSimpleMPRWidget.cxx;h=9b47dfddbb020ab1cc3aed6fca956c77f505179f;hb=5cbe75ae1fb27d18932b6278f97c4a865cddd592;hp=543ae154ecd98b7d5e1c5b82d526f342ef70e745;hpb=84d74813c987aaa92eed8579e2122f67c0d5159d;p=cpPlugins.git diff --git a/lib/cpExtensions/QT/SimpleMPRWidget.cxx b/lib/cpExtensions/QT/SimpleMPRWidget.cxx index 543ae15..9b47dfd 100644 --- a/lib/cpExtensions/QT/SimpleMPRWidget.cxx +++ b/lib/cpExtensions/QT/SimpleMPRWidget.cxx @@ -1,7 +1,4 @@ #include - -#ifdef cpExtensions_QT4 - #include #include #include @@ -164,9 +161,9 @@ SetImage( vtkImageData* image, const std::string& name ) if( this->m_MainImage != NULL && this->m_MainImageName != "" ) { - this->m_XImage->SetImage( this->m_MainImage, 0, name ); - this->m_YImage->SetImage( this->m_MainImage, 1, name ); - this->m_ZImage->SetImage( this->m_MainImage, 2, name ); + this->m_XImage->SetImage( this->m_MainImage, name, 0 ); + this->m_YImage->SetImage( this->m_MainImage, name, 1 ); + this->m_ZImage->SetImage( this->m_MainImage, name, 2 ); this->m_3DView->SetImage( this->m_MainImage, name ); } // fi @@ -635,6 +632,4 @@ _SyncTop( int a, int b ) this->m_UI->Top->setSizes( this->m_UI->Bottom->sizes( ) ); } -#endif // cpExtensions_QT4 - // eof - $RCSfile$