X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.cxx;h=8047b7d2e42c5d006f9d7d08442c26c2a3f654fe;hb=2cdf69fc863433766e033b7ddbaf3c36d71cf43f;hp=12d8d27f621bde8102a642c14d635e11b98cb55d;hpb=3378f6c372da1e07e35c45562749416fcfee6798;p=clitk.git diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 12d8d27..8047b7d 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -235,7 +235,9 @@ vvMainWindow::vvMainWindow():vvMainWindowBase() documentation = new vvDocumentation(); help_dialog = new vvHelpDialog(); dicomSeriesSelector = new vvDicomSeriesSelector(); +#ifdef vvPacsConnection PacsConnection = new vvPacsConnection(); +#endif inverseButton->setEnabled(0); actionAdd_overlay_image_to_current_image->setEnabled(0); @@ -745,8 +747,10 @@ void vvMainWindow::OpenDicom() files = *(dicomSeriesSelector->GetFilenames()); LoadImages(files, vvImageReader::DICOM); } +} - void vvMainWindow::ConnectPacs() +#ifdef vvPacsConnection +void vvMainWindow::ConnectPacs() { std::vector files; @@ -757,6 +761,7 @@ void vvMainWindow::OpenDicom() } } +#endif //------------------------------------------------------------------------------ //------------------------------------------------------------------------------