소스 검색

DOC: added comment about some possible buggy code

Marco Nolden 15 년 전
부모
커밋
71a0efa6e9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();