Commit d4134a61 authored by Gilles Caulier's avatar Gilles Caulier 🗼

fix MACOSX warnings

parent e2670ba1
......@@ -41,7 +41,7 @@
namespace KIPIPrintImagesPlugin
{
CropFrame::CropFrame(QWidget* parent=0)
CropFrame::CropFrame(QWidget* const parent)
: QWidget(parent)
{
m_mouseDown = false;
......@@ -49,7 +49,6 @@ CropFrame::CropFrame(QWidget* parent=0)
m_pixmap = 0;
}
CropFrame::~CropFrame()
{
delete m_pixmap;
......
......@@ -43,7 +43,7 @@ class CropFrame : public QWidget
public:
CropFrame(QWidget* parent);
CropFrame(QWidget* const parent);
~CropFrame();
void init(TPhoto* photo, int width, int height, bool autoRotate, bool paint = true);
void setColor(const QColor&);
......
Markdown is supported
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