From a48fd35709f0ae6e9d6a58ad0c7f0ff4bc7e9f8d Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Fri, 31 Oct 2014 13:30:40 +0100
Subject: Fix uninitialized members in whiteboard's GView.

Test-Information:

Still builds with clang (3.6.0) on OS X (10.9.5).

Change-Id: I857b66b08d684d08ed8e0c99fb7a981e6842c6a8

diff --git a/Swift/QtUI/Whiteboard/GView.cpp b/Swift/QtUI/Whiteboard/GView.cpp
index d725cbb..f92322a 100644
--- a/Swift/QtUI/Whiteboard/GView.cpp
+++ b/Swift/QtUI/Whiteboard/GView.cpp
@@ -8,10 +8,7 @@
 #include <QtSwiftUtil.h>
 
 namespace Swift {
-	GView::GView(QGraphicsScene* scene, QWidget* parent) : QGraphicsView(scene, parent), brush(QColor(Qt::white)), defaultBrush(QColor(Qt::white)) {
-		selectionRect = 0;
-		lastItem = 0;
-		zValue = 0;
+	GView::GView(QGraphicsScene* scene, QWidget* parent) : QGraphicsView(scene, parent), zValue(0), mousePressed(false), brush(QColor(Qt::white)), defaultBrush(QColor(Qt::white)), mode(GView::Select), lastItem(NULL), selectionRect(NULL), textDialog(NULL) {
 	}
 
 	void GView::setLineWidth(int i) {
-- 
cgit v0.10.2-6-g49f6