Fix some coverity issues

This commit is contained in:
heckflosse
2017-06-14 17:02:33 +02:00
parent 31d1f2f52b
commit c4f27b2c13
12 changed files with 16 additions and 15 deletions

View File

@@ -22,7 +22,7 @@
#include "cursormanager.h"
PreviewWindow::PreviewWindow () : previewHandler(nullptr), mainCropWin(nullptr), imageArea(nullptr), imgX(0), imgY(0), imgW(0), imgH(0),
zoom(0.0), isMoving(false), needsUpdate(false), cursor_type(CSUndefined)
zoom(0.0), press_x(0), press_y(0), isMoving(false), needsUpdate(false), cursor_type(CSUndefined)
{
set_name("PreviewWindow");