ソースを参照

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;
 };