Selaa lähdekoodia

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

Andreas Fetzer 10 vuotta sitten
vanhempi
commit
c8bb045666
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 };