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 4646b55 commit 7a81841Copy full SHA for 7a81841
src/Interface/Modules/Visualization/InterfaceWithOsprayDialog.cc
@@ -82,11 +82,11 @@ void InterfaceWithOsprayDialog::showImage()
82
myLabel->setPixmap(QPixmap::fromImage(image));
83
myLabel->resize(myLabel->pixmap()->size());
84
85
- auto d = new QDialog;
+ auto d = new QDialog(this);
86
d->setWindowTitle("Ospray Scene Image");
87
auto layout = new QHBoxLayout;
88
layout->addWidget(myLabel);
89
d->setLayout(layout);
90
d->show();
91
}
92
-}
+}
0 commit comments