Browse Source

Fix save path display in Web UI too

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
66cd3f8184
  1. 4
      src/eventmanager.cpp

4
src/eventmanager.cpp

@ -286,7 +286,9 @@ QVariantMap EventManager::getPropGeneralInfo(QString hash) const { @@ -286,7 +286,9 @@ QVariantMap EventManager::getPropGeneralInfo(QString hash) const {
QTorrentHandle h = BTSession->getTorrentHandle(hash);
if(h.is_valid() && h.has_metadata()) {
// Save path
data["save_path"] = TorrentPersistentData::getSavePath(hash);
QString p = TorrentPersistentData::getSavePath(hash);
if(p.isEmpty()) p = h.save_path();
data["save_path"] = p;
// Creation date
data["creation_date"] = h.creation_date();
// Comment

Loading…
Cancel
Save