From 72d18b7f5245d265fb0eb974854989aebc357724 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 9 Mar 2015 20:52:13 +0100 Subject: [PATCH 8/8] check widget validity before calling deleteLater BUG: 344980 --- kstyle/breezepalettehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezepalettehelper.cpp b/kstyle/breezepalettehelper.cpp index e134a65..1fcb3e6 100644 --- a/kstyle/breezepalettehelper.cpp +++ b/kstyle/breezepalettehelper.cpp @@ -44,7 +44,7 @@ namespace Breeze //_____________________________________________________ PaletteHelper::~PaletteHelper() - { _widget->deleteLater(); } + { if( _widget ) _widget->deleteLater(); } //_____________________________________________________ -- 2.3.1