Skip to content
Snippets Groups Projects
Commit d45a245f authored by Langella Olivier's avatar Langella Olivier
Browse files

important virtual destructor added

parent 3507d11f
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ IdentificationDataSourceStore::getInstance(const QString &location, ...@@ -66,7 +66,7 @@ IdentificationDataSourceStore::getInstance(const QString &location,
qDebug() << "IdentificationDataSourceStore::getInstance coucou 1 "; qDebug() << "IdentificationDataSourceStore::getInstance coucou 1 ";
// QString sample_name = location_file.baseName(); // QString sample_name = location_file.baseName();
IdentificationDataSourceSp p_identfile = nullptr; IdentificationDataSourceSp p_identfile = nullptr;
if(ext.toLower() == "xml") if((ext.toLower() == "xml") || (ext.toLower() == ".d.xml"))
{ {
// X!Tandem result file // X!Tandem result file
p_identfile = p_identfile =
...@@ -79,7 +79,7 @@ IdentificationDataSourceStore::getInstance(const QString &location, ...@@ -79,7 +79,7 @@ IdentificationDataSourceStore::getInstance(const QString &location,
} }
else else
{ {
p_identfile = std::make_shared<IdentificationPwizFile>(location_file); //p_identfile = std::make_shared<IdentificationPwizFile>(location_file);
} }
if(p_identfile == nullptr) if(p_identfile == nullptr)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment