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