You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
806 B
27 lines
806 B
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 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
|
|
|