It doesn't make much sense to make checks like 'if(game)' if you never set game to 0. Using smart pointers instead. Does it fix segfaults? Probably.
# -------------------------------------------------
# Project created by QtCreator 2010-11-27T22:18:20
# -------------------------------------------------
TARGET = drawMapTest
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
drawmapscene.cpp \
qaspectratiolayout.cpp \
drawmapwidget.cpp
HEADERS += mainwindow.h \
drawmapscene.h \
qaspectratiolayout.h \
drawmapwidget.h
FORMS += mainwindow.ui