Commit 3adfedb7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

initiliaze variable in header

parent f93e37cf
......@@ -23,7 +23,7 @@
#include "prefs.h"
DetailedGraphicalOverview::DetailedGraphicalOverview(QWidget *parent)
: QWidget(parent), m_element(nullptr)
: QWidget(parent)
{
setAttribute(Qt::WA_OpaquePaintEvent, true);
......
......@@ -45,7 +45,7 @@ private:
/**
* the element whose data will be used
*/
Element *m_element;
Element *m_element = nullptr;
/**
* The background color.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment