Browse Source

- Cannot drop a feed into "Unread" item

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
0984b8b8e1
  1. 4
      src/feedList.h

4
src/feedList.h

@ -151,6 +151,9 @@ protected slots:
protected: protected:
void dragMoveEvent(QDragMoveEvent * event) { void dragMoveEvent(QDragMoveEvent * event) {
QTreeWidgetItem *item = itemAt(event->pos()); QTreeWidgetItem *item = itemAt(event->pos());
if(item == unread_item) {
event->ignore();
} else {
if(item && getItemType(item) != RssFile::FOLDER) if(item && getItemType(item) != RssFile::FOLDER)
event->ignore(); event->ignore();
else { else {
@ -161,6 +164,7 @@ protected:
} }
} }
} }
}
void dropEvent(QDropEvent *event) { void dropEvent(QDropEvent *event) {
qDebug("dropEvent"); qDebug("dropEvent");

Loading…
Cancel
Save