mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Fixed drag'ndrop on non-KDE systems
This commit is contained in:
@@ -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
1
TODO
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user