瀏覽代碼

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

Andreas Fetzer 10 年之前
父節點
當前提交
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;
 };