forked from pool/breeze
27 lines
872 B
Diff
27 lines
872 B
Diff
|
From 72d18b7f5245d265fb0eb974854989aebc357724 Mon Sep 17 00:00:00 2001
|
||
|
From: Hugo Pereira Da Costa <hugo.pereira@free.fr>
|
||
|
Date: Mon, 9 Mar 2015 20:52:13 +0100
|
||
|
Subject: [PATCH 4/4] 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 e134a6557722237858850aa854bb6a485a3bb99d..1fcb3e65225002f5eef193028e656ae499961960 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.0
|
||
|
|