Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings in ctk dicom classes #906

Merged
merged 3 commits into from
Mar 11, 2020
Merged

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Mar 11, 2020

No description provided.

@@ -104,6 +104,7 @@ void ctkDICOMDisplayedFieldGenerator::updateDisplayedFieldsForInstance(
QMap<QString, QString> &displayedFieldsForCurrentPatient )
{
Q_D(ctkDICOMDisplayedFieldGenerator);
Q_UNUSED(sopInstanceUID);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lassoan Is this warning fix legitimate or does it reveal an issue ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Since cached tags are now fetched at higher level at once (to improve performance), SOP instance UID is not needed here anymore. It can be removed, and later, if for some reason is needed again then can still be added back.

@jcfr jcfr merged commit b3d6740 into master Mar 11, 2020
@jcfr jcfr deleted the fix-warnings-in-ctkDICOM-classes branch March 11, 2020 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants