From 738309e12303e49ab2f085a76b342a8617e37d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 7 Nov 2012 14:32:43 +0000 Subject: [PATCH] try widget not main window; refs #167 --- src/qbrowserlib/swisswebwidget.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: