Ignore:
Timestamp:
03/05/14 08:33:02 (7 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4f9718b, 65e10ad
Parents:
0ed0d02
Message:

Add a new "Classic Backup" dialog for customizing the home-dir archive and providing status updates while it is running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/lp-gui/LPGUtils.cpp

    r8b3a780 r109c737  
    142142 
    143143bool LPGUtils::revertFile(QString oldPath, QString newPath){ 
     144  qDebug() << "Reverting file:" << oldPath << " -> " << newPath; 
    144145  bool ok = QFile::copy(oldPath,newPath); 
    145146  //return the path to the new file if the copy was successful 
     
    149150    QFileInfo FI(oldPath); 
    150151      system( QString("chown "+FI.owner()+":"+FI.group()+" "+newPath).toUtf8() ); 
     152  }else{ 
     153    qDebug() << " - Error: Could not copy file"; 
    151154  } 
    152155  return ok; 
Note: See TracChangeset for help on using the changeset viewer.