[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KListView bug (was Re: KTMainWindow bug)
From: Joachim Ansorg <Jockel123 () gmx ! de>
Date: 2000-06-01 21:09:30
[Download RAW message or body]
Hi!
I figured out that KTMainWindow is OK.
But afetr debugging with KDevelop's debugger I saw it's a bug in KListView.
Probably related to the DnD implementations.
My programm crashes when I create a KListView derived class. My class is ok because \
it worked in earlier KDE snapshots. But it doesn't work (no changes in my class) with \
the current CVS.
BTW: I noticed some strange code in klistview.cpp. For example these functions (I \
think there are more):
void KListView::dragEnterEvent(QDragEnterEvent* event)
{
KListView::dragEnterEvent(event); // ## doesn't this start a endless loop?
event->accept(event->source()==this);
}
void KListView::dropEvent(QDropEvent* event)
{
KListView::dropEvent(event); // ## this starts it too, doesn't it ?
cleanRect();
QListViewItem *afterme=findDrop(event->pos());
if (event->source()==this) // Moving an item
{
}
else
dropEvent(event, this, afterme);
}
--Joachim
Kurt Granroth wrote on Don, 01 Jun 2000:
> Joachim Ansorg wrote:
> > My application crashes now executing KTMainWindow::show() .
> >
> > The window is visible a short time and crashes then.
> >
> > I think it's a bug in KTMainWindow::updateRects().
> > Right??
>
> Could be. What's your app and what is the context in which you are
> using KTMainWindow::show()?
--
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de
> > 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