Changeset 923 for XmlTools2/trunk/utilxmltools.cpp
- Timestamp:
- Feb 3, 2014, 4:42:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XmlTools2/trunk/utilxmltools.cpp
r920 r923 43 43 } 44 44 45 void backupFile(const QString &file ){45 void backupFile(const QString &file, bool verboseEnabled){ 46 46 if(!QFile::exists(file+".bak")){ 47 47 if(!Util::backupFile(file)){ … … 51 51 } 52 52 else{ 53 std::cout << "Backup file '" << file.toLatin1().constData() << "'' already exists. Skipping..." << std::endl; 53 if(verboseEnabled){ 54 std::cout << "Backup file '" << file.toLatin1().constData() << "'' already exists. Skipping..." << std::endl; 55 } 54 56 } 55 57 }
Note:
See TracChangeset
for help on using the changeset viewer.