Просмотр исходного кода

Make root object protected to allow access to the root object from
within subclasses.

Andreas Fetzer лет назад: 10
Родитель
Сommit
c8bb045666
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Libs/XNAT/Core/ctkXnatListModel.h

+ 1 - 1
Libs/XNAT/Core/ctkXnatListModel.h

@@ -44,7 +44,7 @@ public:
   QVariant data(const QModelIndex &index, int role) const;
   QVariant headerData(int section, Qt::Orientation orientation, int role) const;
 
-private:
+protected:
   ctkXnatObject* RootObject;
 };