Sfoglia il codice sorgente

DOC: added comment about some possible buggy code

Marco Nolden 15 anni fa
parent
commit
71a0efa6e9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Libs/DICOM/Core/ctkDICOMModel.cpp

+ 1 - 0
Libs/DICOM/Core/ctkDICOMModel.cpp

@@ -444,6 +444,7 @@ bool ctkDICOMModel::hasChildren ( const QModelIndex & parentValue ) const
 QVariant ctkDICOMModel::headerData(int section, Qt::Orientation orientation, int role)const
 {
   CTK_D(const ctkDICOMModel);
+  // @bug: this expression is not "valid", DisplayRole and EditRole are not bitmasks
   if (role & ~(Qt::DisplayRole | Qt::EditRole))
     {
     return QVariant();