diff options
Diffstat (limited to 'addon/doxywizard/inputint.cpp')
-rw-r--r-- | addon/doxywizard/inputint.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/addon/doxywizard/inputint.cpp b/addon/doxywizard/inputint.cpp index e5d98ac..c3bd11f 100644 --- a/addon/doxywizard/inputint.cpp +++ b/addon/doxywizard/inputint.cpp @@ -13,7 +13,6 @@ */ #include "inputint.h" -#include "pagewidget.h" #include <stdio.h> #include <stdlib.h> @@ -22,8 +21,8 @@ #include <qwindowsstyle.h> #include <qspinbox.h> -InputInt::InputInt( const QString & label, PageWidget *parent, int &val, int minVal,int maxVal ) - : QWidget( parent->getLayout() ), m_val(val), m_minVal(minVal), m_maxVal(maxVal) +InputInt::InputInt( const QString & label, QWidget *parent, int &val, int minVal,int maxVal ) + : QWidget( parent), m_val(val), m_minVal(minVal), m_maxVal(maxVal) { QHBoxLayout *layout = new QHBoxLayout( this, 5 ); @@ -44,7 +43,6 @@ InputInt::InputInt( const QString & label, PageWidget *parent, int &val, int min connect(sp, SIGNAL(valueChanged(int)), this, SLOT(valueChanged(int)) ); - parent->addWidget(this); } void InputInt::valueChanged(int val) |