From cbead15e18d5616d294db4993f14f793520fd41c Mon Sep 17 00:00:00 2001 From: mfeemster Date: Wed, 25 Nov 2015 14:27:49 -0800 Subject: [PATCH] --Bug fixes: -Crash on linux when saving style due to null pointer in m_Theme variable. --- Source/Fractorium/QssDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Fractorium/QssDialog.cpp b/Source/Fractorium/QssDialog.cpp index a30a006..e5195c2 100644 --- a/Source/Fractorium/QssDialog.cpp +++ b/Source/Fractorium/QssDialog.cpp @@ -53,6 +53,7 @@ QssDialog::QssDialog(Fractorium* parent) : { ui->setupUi(this); m_Parent = parent; + m_Theme = nullptr; m_LastStyle = m_Parent->styleSheet(); setWindowTitle("QSS Editor - default.qss"); connect(ui->QssEdit, SIGNAL(textChanged()), this, SLOT(SlotTextChanged()));