From 426b640d2f65dfe9345481f23d0bd49ce616e460 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 17 Jul 2014 20:27:18 -0300 Subject: No need to delete a QPointer QPointer is a smart pointer, it will delete itself when the refcount == 0. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/printlayout.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index 6640d43f4..51b44c0ac 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -213,7 +213,6 @@ void PrintLayout::printProfileDives(int divesPerRow, int divesPerColumn) } // cleanup painter.end(); - delete table; profile->setFrameStyle(profileFrameStyle); profile->setPrintMode(false); profile->resize(originalSize); -- cgit v1.2.3-70-g09d2