diff options
author | vng <viktor.govako@gmail.com> | 2011-06-13 02:50:50 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:19:39 +0300 |
commit | ed2113e6cf384a6557479bf008c7a2e3f86c03e9 (patch) | |
tree | a1e2228c553246be2612abe46966131b544c2ef8 /qt_tstfrm | |
parent | 24701fb5520c0a00ba66324e4776f5689dc72f53 (diff) |
Minor code fixes.
Diffstat (limited to 'qt_tstfrm')
-rw-r--r-- | qt_tstfrm/widgets.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qt_tstfrm/widgets.hpp b/qt_tstfrm/widgets.hpp index 7456d82d69..50ca28f3f9 100644 --- a/qt_tstfrm/widgets.hpp +++ b/qt_tstfrm/widgets.hpp @@ -31,14 +31,11 @@ namespace qt template <class T> class GLDrawWidgetT : public BaseDrawWidget<T, QGLWidget> { typedef BaseDrawWidget<T, QGLWidget> base_type; - protected: + protected: shared_ptr<T> m_p; public: - - shared_ptr<T> GetDrawer() {return m_p;} - GLDrawWidgetT(QWidget * pParent) : base_type(pParent){} virtual ~GLDrawWidgetT(); |