diff --git a/src/qbrowserlib/swisswebwidget.hxx b/src/qbrowserlib/swisswebwidget.hxx index 0c03b88..d881353 100644 --- a/src/qbrowserlib/swisswebwidget.hxx +++ b/src/qbrowserlib/swisswebwidget.hxx @@ -22,10 +22,10 @@ namespace qbrowserlib { SwissWebView. Instanciate this and you have a complete browser. To be used inside a QTabBar, as main window or as docking widget. */ - class SwissWebWidget: public QMainWindow, private Ui::SwissWebWidget { + class SwissWebWidget: public QWidget, private Ui::SwissWebWidget { Q_OBJECT; public: - SwissWebWidget(QWidget* p=0): QMainWindow(p) { + SwissWebWidget(QWidget* p=0): QWidget(p) { setupUi(this); } protected: