Fixed some qt deprecation warnings

This commit is contained in:
Jan Möbius
2020-09-24 11:54:03 +02:00
parent 740c69162c
commit 1c71cf568d
5 changed files with 4 additions and 9 deletions

View File

@@ -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();