Image: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-26 17:55:10 +01:00
parent cdf755ec71
commit 213311524e
8 changed files with 14 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ using namespace ImageGui;
TYPESYSTEM_SOURCE_ABSTRACT(ImageGui::ImageView, Gui::MDIView)
ImageView::ImageView(QWidget* parent)
: MDIView(0, parent), _ignoreCloseEvent(false)
: MDIView(nullptr, parent), _ignoreCloseEvent(false)
{
// Create an OpenGL widget for displaying images
// Since Qt5 there is a weird behaviour when creating a GLImageBox.