Reduce debugging noise when performing drag-and-drop.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695805
This commit is contained in:
Robert Knight 2007-08-03 00:13:33 +00:00
parent 510c39002a
commit 8c9f82bd4a

View File

@ -224,7 +224,7 @@ void Corona::dragEnterEvent( QGraphicsSceneDragDropEvent *event)
void Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
{
kDebug() << "Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent* event)";
// kDebug() << "Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent* event)" << endl;
//TODO If an established Applet is dragged out of the Corona, remove it and
// create a QDrag type thing to keep the Applet's settings
}
@ -234,12 +234,12 @@ void Corona::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
QGraphicsScene::dragMoveEvent(event);
event->accept();
kDebug() << "Corona::dragMoveEvent(QDragMoveEvent* event)";
//kDebug() << "Corona::dragMoveEvent(QDragMoveEvent* event)" << endl;
}
void Corona::dropEvent(QGraphicsSceneDragDropEvent *event)
{
kDebug() << "Corona::dropEvent(QDropEvent* event)";
//kDebug() << "Corona::dropEvent(QDropEvent* event)" << endl;
if (event->mimeData()->hasFormat("text/x-plasmoidservicename")) {
//TODO This will pretty much move into dragEnterEvent()
QString plasmoidName;