[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: abbrowser
From: Patrick Julien <freakmtl () videotron ! ca>
Date: 2001-01-26 21:43:38
[Download RAW message or body]
abbrowser crashes when removing an entry and nothing is selected, if somebody
is maintaning it, this patch fixes it
["abbrowser.patch" (text/plain)]
--- kdepim/abbrowser/browserwidget.cpp Fri Jan 26 15:07:28 2001
+++ kdepim-local/abbrowser/browserwidget.cpp Fri Jan 26 15:09:33 2001
@@ -895,9 +895,9 @@
qDebug( "clear" );
QListViewItem *item = listView->currentItem();
PabListViewItem *lvi = dynamic_cast< PabListViewItem* >(item);
- QString entryKey = lvi->entryKey();
- ContactEntry *ce = lvi->getEntry();
if (lvi) {
+ QString entryKey = lvi->entryKey();
+ ContactEntry *ce = lvi->getEntry();
PwDeleteCommand *command = new PwDeleteCommand( this, entryKey, ce );
UndoStack::instance()->push( command );
RedoStack::instance()->clear();
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic