Added destructor in indicator button panel and modified functional tests
[situare] / src / ui / indicatorbuttonpanel.cpp
index d3a921f..39bef4e 100644 (file)
@@ -109,6 +109,13 @@ IndicatorButtonPanel::IndicatorButtonPanel(QWidget *parent)
             this, SIGNAL(autoCenteringTriggered(bool)));
 }
 
+IndicatorButtonPanel::~IndicatorButtonPanel()
+{
+    qDebug() << __PRETTY_FUNCTION__;
+
+    delete m_normalColor;
+}
+
 void IndicatorButtonPanel::forceMouseRelease()
 {
     qDebug() << __PRETTY_FUNCTION__;