QString mPreviousPath;
QString mFoldername;
void AddSerieToTheTable(int i, std::vector<std::string> & filenames);
-#if GDCM_MAJOR_VERSION == 2
+#if GDCM_MAJOR_VERSION >= 2
QString MakeDicomInfo(std::string & s, const gdcm::Reader& header);
#else
QString MakeDicomInfo(std::string & s, gdcm::File *header);
std::map<std::string, std::vector<std::string>* > mListOfSeriesFilenames;
std::vector<std::string> * mFilenames;
std::map<std::string, QString> mDicomInfo;
-#if GDCM_MAJOR_VERSION == 2
+#if GDCM_MAJOR_VERSION >= 2
std::map<std::string, gdcm::Reader> mDicomHeader;
#else
std::map<std::string, gdcm::File*> mDicomHeader;