Преглед изворни кода

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