Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/dialogs/qfilesystemmodel.cpp

    r627 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    12231223        for (; it != urls.constEnd(); ++it) {
    12241224            QString path = (*it).toLocalFile();
    1225             success = QFile::copy(path, to + QFileInfo(path).fileName())
    1226                       && QFile::remove(path) && success;
     1225            success = QFile::rename(path, to + QFileInfo(path).fileName()) && success;
    12271226        }
    12281227        break;
     
    17851784        if (info.size() == -1 && parentNode != &root) {
    17861785#else
    1787         if (info.size() == -1) {
     1786        if (info.size() == -1) {
    17881787#endif
    17891788            removeNode(parentNode, fileName);
Note: See TracChangeset for help on using the changeset viewer.