try widget not main window; refs #167

master
Marc Wäckerlin 12 years ago
parent 3aa76f4f1b
commit 738309e123
  1. 4
      src/qbrowserlib/swisswebwidget.hxx

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

Loading…
Cancel
Save