diff options
| author | Jin Liu <[email protected]> | 2024-02-20 20:09:26 +0800 |
|---|---|---|
| committer | Jin Liu <[email protected]> | 2024-02-27 10:13:21 +0800 |
| commit | 0eed595268d2b0478eee1d5bf5ed6bbd100cdf4c (patch) | |
| tree | 9628a27efb898e1966cffd68701dc9ecf916d83d /src/tests | |
| parent | f13f3c7a267e552cbc7aed4c3cfcd3ee70989446 (diff) | |
Fix: can't drop into remote dir
KFileItem::isDir() only works when it's created from listDir(),
or from a local QUrl. For a remote QUrl, isDir always returns
false, so we can't use that in supportsDropping().
As a workaround, now supportsDropping() always returns true in
remote dirs -- we don't check if a remote dir is writable when
dropping.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions
