Fixed some qt deprecation warnings
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
// OpenGL check
|
||||
QApplication::setColorSpec( QApplication::CustomColor );
|
||||
QApplication app(argc,argv);
|
||||
|
||||
|
||||
@@ -66,7 +65,7 @@ int main(int argc, char **argv)
|
||||
|
||||
// create widget
|
||||
VDPMSynthesizerViewerWidget*
|
||||
w = new VDPMSynthesizerViewerWidget(0, "VDPMSynthesizerViewer");
|
||||
w = new VDPMSynthesizerViewerWidget(nullptr, "VDPMSynthesizerViewer");
|
||||
|
||||
w->resize(400, 400);
|
||||
w->show();
|
||||
|
||||
Reference in New Issue
Block a user