[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete/config/appearance
From: Olivier Goffart <ogoffart () tiscalinet ! be>
Date: 2005-01-06 17:05:35
Message-ID: 20050106170535.83EF11CE8E () office ! kde ! org
[Download RAW message or body]
CVS commit by ogoffart:
Fix crash
M +6 -2 tooltipeditdialog.cpp 1.4
--- kdenetwork/kopete/kopete/config/appearance/tooltipeditdialog.cpp #1.3:1.4
@@ -192,5 +192,7 @@ void TooltipEditDialog::slotAddButton()
{
TooltipItem *item = static_cast<TooltipItem *>(mMainWidget->lstUnusedItems->currentItem());
- kdDebug(14000) << k_funcinfo << endl;
+ if(!item)
+ return;
+ //kdDebug(14000) << k_funcinfo << endl;
// build a new one in the "used" list
@@ -205,5 +207,7 @@ void TooltipEditDialog::slotRemoveButton
{
TooltipItem *item = static_cast<TooltipItem *>(mMainWidget->lstUsedItems->currentItem());
- kdDebug(14000) << k_funcinfo << endl;
+ if(!item)
+ return;
+ //kdDebug(14000) << k_funcinfo << endl;
// build a new one in the "unused" list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic