--- a/src/labeledwidget.h Fri Aug 02 15:57:03 2013 +0300 +++ b/src/labeledwidget.h Fri Aug 02 16:33:30 2013 +0300 @@ -39,8 +39,8 @@ } explicit LabeledWidget (const char* labelstr, R* widget, QWidget* parent = null) : - QWidget (parent), m_widget (widget) - { + QWidget (parent), m_widget (widget) { + commonInit (labelstr); } @@ -49,8 +49,8 @@ commonInit (""); } - R* w () const { return m_widget; } - operator R* () { return m_widget; } + R* w() const { return m_widget; } + operator R*() { return m_widget; } private: Q_DISABLE_COPY (LabeledWidget<R>)