From d45a245fe4be858d63e69dd26be39f7c3cb0d777 Mon Sep 17 00:00:00 2001 From: Olivier Langella <olivier.langella@u-psud.fr> Date: Fri, 29 May 2020 10:45:09 +0200 Subject: [PATCH] important virtual destructor added --- src/utils/identificationdatasourcestore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/identificationdatasourcestore.cpp b/src/utils/identificationdatasourcestore.cpp index 1f7df966..7ba69ddc 100644 --- a/src/utils/identificationdatasourcestore.cpp +++ b/src/utils/identificationdatasourcestore.cpp @@ -66,7 +66,7 @@ IdentificationDataSourceStore::getInstance(const QString &location, qDebug() << "IdentificationDataSourceStore::getInstance coucou 1 "; // QString sample_name = location_file.baseName(); IdentificationDataSourceSp p_identfile = nullptr; - if(ext.toLower() == "xml") + if((ext.toLower() == "xml") || (ext.toLower() == ".d.xml")) { // X!Tandem result file p_identfile = @@ -79,7 +79,7 @@ IdentificationDataSourceStore::getInstance(const QString &location, } else { - p_identfile = std::make_shared<IdentificationPwizFile>(location_file); + //p_identfile = std::make_shared<IdentificationPwizFile>(location_file); } if(p_identfile == nullptr) { -- GitLab