From 0e3852e62567e9ae2073889821baf5b651bdf228 Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Mon, 10 Feb 2014 15:42:09 +0100 Subject: memory leak fix(that I created in some previous commits). Signed-off-by: Boris Barbulovski Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 0f38e5f1a..7db90886e 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -163,7 +163,6 @@ void ProfileWidget2::setupItemOnScene() setupItem(diveProfileItem, timeAxis, profileYAxis, dataModel, DivePlotDataModel::DEPTH, DivePlotDataModel::TIME, 0); #define CREATE_PP_GAS( ITEM, VERTICAL_COLUMN, COLOR, COLOR_ALERT, THRESHOULD_SETTINGS, VISIBILITY_SETTINGS ) \ - ITEM = new PartialPressureGasItem(); \ setupItem(ITEM, timeAxis, gasYAxis, dataModel, DivePlotDataModel::VERTICAL_COLUMN, DivePlotDataModel::TIME, 0); \ ITEM->setThreshouldSettingsKey(THRESHOULD_SETTINGS); \ ITEM->setVisibilitySettingsKey(VISIBILITY_SETTINGS); \ -- cgit v1.2.3-70-g09d2