Skip to content

Commit

Permalink
STYLE: Improve readability of metadata keys in qSlicerExtensionsManag…
Browse files Browse the repository at this point in the history
…erModel
  • Loading branch information
jcfr committed May 15, 2024
1 parent eb1c4b3 commit 332732c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Base/QTCore/qSlicerExtensionsManagerModel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1962,8 +1962,15 @@ bool qSlicerExtensionsManagerModel::installExtension(

// Copy expected keys from archive description
QStringList expectedKeys;
expectedKeys << /*no tr*/"category" << /*no tr*/"contributors" << /*no tr*/"description" << /*no tr*/"homepage"
<< /*no tr*/"iconurl" << /*no tr*/"screenshots" << /*no tr*/"status" << /*no tr*/"updated";
expectedKeys
<< /*no tr*/"category"
<< /*no tr*/"contributors"
<< /*no tr*/"description"
<< /*no tr*/"homepage"
<< /*no tr*/"iconurl"
<< /*no tr*/"screenshots"
<< /*no tr*/"status"
<< /*no tr*/"updated";

const ExtensionMetadataType::const_iterator notFound =
extensionIndexMetadata.constEnd();
Expand Down

0 comments on commit 332732c

Please sign in to comment.