[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui
From: Daniel Teske <teske () squorn ! de>
Date: 2005-07-13 1:24:21
Message-ID: 1121217861.800086.23099.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 434125 by teske:
Fix a crash in keditbookmarks.
keditbookmarks deletes and recreates all listview items in repsonse to
the done signal, so by the time i was accessed it was already deleted.
And move the setFocus() line to a better place.
M +2 -2 klistview.cpp
--- trunk/KDE/kdelibs/kdeui/klistview.cpp #434124:434125
@@ -369,10 +369,10 @@
QListViewItem *i=item;
col=0;
item=0;
- hide(); // will call focusOutEvent, that's why we set item=0 before
+ p->setFocus();// will call focusOutEvent, that's why we set item=0 before
+ hide();
if (commit)
emit done(i,c);
- i->listView()->setFocus();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic