diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-17 20:27:18 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-18 10:14:27 -0700 |
commit | 426b640d2f65dfe9345481f23d0bd49ce616e460 (patch) | |
tree | 3555912e814220af5167d7de33832fe66f33eba9 | |
parent | d3c0a723b82337fcf2bd0e129d3a6855c90e4825 (diff) | |
download | subsurface-426b640d2f65dfe9345481f23d0bd49ce616e460.tar.gz |
No need to delete a QPointer
QPointer is a smart pointer, it will delete itself when the
refcount == 0.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/printlayout.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); |