- Fixed drag'ndrop on non-KDE systems

This commit is contained in:
Christophe Dumez 2007-09-02 13:06:42 +00:00
parent f78c74c1b5
commit cf6128a222
4 changed files with 4 additions and 2 deletions

View file

@ -55,6 +55,7 @@
- BUGFIX: Made torrent deletion from hard-drive safer
- BUGFIX: Prevent downloadFromUrl flooding
- BUGFIX: ETA was wrong for torrents with filtered files
- BUGFIX: Fixed drag'n drop on non-KDE systems
- COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features

1
TODO
View file

@ -87,3 +87,4 @@ beta6->beta7 changelog:
- BUGFIX: 'Unknown' is now displayed in search results columns where value is -1
- BUGFIX: Improved search engine core a little
- BUGFIX: Forgot to remove *.pyc files when uninstalling a search plugin
- BUGFIX: Fixed drag'n drop on non-KDE systems

View file

@ -557,7 +557,7 @@ void GUI::dragEnterEvent(QDragEnterEvent *event) {
foreach(mime, event->mimeData()->formats()){
qDebug("mimeData: %s", mime.toUtf8().data());
}
if (event->mimeData()->hasFormat(QString::fromUtf8("text/plain"))) {
if (event->mimeData()->hasFormat(QString::fromUtf8("text/plain")) || event->mimeData()->hasFormat(QString::fromUtf8("text/uri-list"))) {
event->acceptProposedAction();
}
}

View file

@ -90,7 +90,7 @@ void engineSelectDlg::dragEnterEvent(QDragEnterEvent *event) {
foreach(mime, event->mimeData()->formats()){
qDebug("mimeData: %s", mime.toUtf8().data());
}
if (event->mimeData()->hasFormat(QString::fromUtf8("text/plain"))) {
if (event->mimeData()->hasFormat(QString::fromUtf8("text/plain")) || event->mimeData()->hasFormat(QString::fromUtf8("text/uri-list"))) {
event->acceptProposedAction();
}
}