[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeaccessibility/kmouth/phrasebook
From:       Laurent Montel <montel () kde ! org>
Date:       2004-01-07 21:01:14
Message-ID: 20040107210114.04A029106 () office ! kde ! org
[Download RAW message or body]

CVS commit by mlaurent: 

Fix crash when we delete all phrase


  M +12 -10    phrasetree.cpp   1.4


--- kdeaccessibility/kmouth/phrasebook/phrasetree.cpp  #1.3:1.4
@@ -229,4 +229,6 @@ void PhraseTree::moveItem (QListViewItem
 bool PhraseTree::hasSelectedItems() {
    QListViewItem *i = firstChild();
+   if ( !i )
+       return false;
    int level = 0;
    do {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic