Fix SEGV on GcBubble

This commit is contained in:
Mark Liversedge
2012-11-27 18:53:11 +00:00
parent 4bd94e9411
commit 154fbd7986

View File

@@ -32,7 +32,7 @@ static const int spikeMargin = 40;
#include "Settings.h"
#include "Units.h"
GcBubble::GcBubble(MainWindow *parent) : QWidget(parent, Qt::FramelessWindowHint), borderWidth(3), mainWindow(mainWindow), parent(parent), orientation(Qt::Horizontal)
GcBubble::GcBubble(MainWindow *parent) : QWidget(parent, Qt::FramelessWindowHint), borderWidth(3), mainWindow(parent), parent(parent), orientation(Qt::Horizontal)
{
setAttribute(Qt::WA_DeleteOnClose);
setAttribute(Qt::WA_TranslucentBackground);