diff --git a/src/frontends/qt4/floatplacement.C b/src/frontends/qt4/floatplacement.C index 9b14d6aba8..f7b1b34b25 100644 --- a/src/frontends/qt4/floatplacement.C +++ b/src/frontends/qt4/floatplacement.C @@ -9,6 +9,10 @@ * Full author contact details are available in file CREDITS. */ +#ifndef QT3_SUPPORT + #define QT3_SUPPORT +#endif + #include #include "floatplacement.h" @@ -31,7 +35,7 @@ using std::string; // FIXME: set disabled doesn't work properly // should be fixed now (jspitzm) -FloatPlacement::FloatPlacement(QWidget * parent, char * /*name*/) +FloatPlacement::FloatPlacement(QWidget * parent) : QWidget(parent) { QHBoxLayout * toplayout = new QHBoxLayout(this, 11, 6); diff --git a/src/frontends/qt4/floatplacement.h b/src/frontends/qt4/floatplacement.h index e61529e1bb..473397d0f8 100644 --- a/src/frontends/qt4/floatplacement.h +++ b/src/frontends/qt4/floatplacement.h @@ -14,7 +14,6 @@ #define QT_FLOATPLACEMENT_H #include -//#include #include @@ -26,8 +25,7 @@ class FloatPlacement : public QWidget { Q_OBJECT public: - FloatPlacement(QWidget * parent=0, char * name=""); - + FloatPlacement(QWidget * parent=0); void useWide(); void useSideways();