Browse Source

- Fixed drag'ndrop on non-KDE systems

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
cf6128a222
  1. 1
      Changelog
  2. 1
      TODO
  3. 2
      src/GUI.cpp
  4. 2
      src/engineSelectDlg.cpp

1
Changelog

@ -55,6 +55,7 @@
- BUGFIX: Made torrent deletion from hard-drive safer - BUGFIX: Made torrent deletion from hard-drive safer
- BUGFIX: Prevent downloadFromUrl flooding - BUGFIX: Prevent downloadFromUrl flooding
- BUGFIX: ETA was wrong for torrents with filtered files - 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 torrent properties a little
- COSMETIC: Redesigned options a little - COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features - COSMETIC: Display more logs messages concerning features

1
TODO

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

2
src/GUI.cpp

@ -557,7 +557,7 @@ void GUI::dragEnterEvent(QDragEnterEvent *event) {
foreach(mime, event->mimeData()->formats()){ foreach(mime, event->mimeData()->formats()){
qDebug("mimeData: %s", mime.toUtf8().data()); 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(); event->acceptProposedAction();
} }
} }

2
src/engineSelectDlg.cpp

@ -90,7 +90,7 @@ void engineSelectDlg::dragEnterEvent(QDragEnterEvent *event) {
foreach(mime, event->mimeData()->formats()){ foreach(mime, event->mimeData()->formats()){
qDebug("mimeData: %s", mime.toUtf8().data()); 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(); event->acceptProposedAction();
} }
} }

Loading…
Cancel
Save