Merge remote-tracking branch 'origin/1.8'
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 27 Apr 2015 10:20:11 +0000 (12:20 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Mon, 27 Apr 2015 10:20:11 +0000 (12:20 +0200)
1  2 
doc/installing.rst
src/gui/folder.cpp
src/gui/sharedialog.h
src/libsync/propagatedownload.cpp

Simple merge
Simple merge
Simple merge
index f251da39bdb94adcccd6c1c1434523c0d06309af,6aa94eed6bc1804873e38c75b02c5d7672e74ca1..bd82f0e854bbedf8eb97ce95f20e1894440903c4
@@@ -337,8 -337,9 +337,9 @@@ void PropagateDownloadFileQNAM::start(
  
      quint64 startSize = _tmpFile.size();
      if (startSize > 0) {
 -        if (startSize == _item._size) {
 +        if (startSize == _item->_size) {
              qDebug() << "File is already complete, no need to download";
+             _tmpFile.close();
              downloadFinished();
              return;
          }
@@@ -489,8 -490,7 +490,7 @@@ QString makeConflictFileName(const QStr
  
  void PropagateDownloadFileQNAM::downloadFinished()
  {
 -    QString fn = _propagator->getFilePath(_item._file);
 +    QString fn = _propagator->getFilePath(_item->_file);
  
      // In case of file name clash, report an error
      // This can happen if another parallel download saved a clashing file.