We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d75717 commit f46b89bCopy full SHA for f46b89b
src/Test/GraphicsWebViewTest.cc
@@ -11,10 +11,10 @@ GraphicsWebViewTestWindows::GraphicsWebViewTestWindows(QWidget *parent) :
11
this->setWindowTitle("Test Widget");
12
13
QGraphicsScene *pScene = new QGraphicsScene();
14
- this->setScene(pScene);
15
- this->resize(800, 600);
16
QGraphicsWebView *pWebView = new QGraphicsWebView();
17
- this->scene()->addItem(pWebView);
+ pScene->addItem(pWebView);
+
+ this->setScene(pScene);
18
}
19
20
GraphicsWebViewTestWindows::~GraphicsWebViewTestWindows() {}
0 commit comments