Skip to content

Commit

Permalink
Refs #1579. Remove debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed May 17, 2013
1 parent 0083e40 commit d9145ef
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,7 @@ void ApplicationWindow::handleConfigDir()
QFileInfo newFile(curConfig.dir(), entry);
// Qt will not overwrite files, so remove new one first
QFile::remove(newFile.filePath());
std::cout << "D: " << oldFile.filePath().toStdString() << std::endl;
std::cout << "E: " << newFile.filePath().toStdString() << std::endl;
std::cout << "G: " << newFile.exists() << std::endl;
if (!QFile::copy(oldFile.filePath(), newFile.filePath()))
{
std::cout << "Cannot copy " << newFile.filePath().toStdString() << std::endl;
}
QFile::copy(oldFile.filePath(), newFile.filePath());
QFile::remove(oldFile.filePath());
}
}
Expand Down

0 comments on commit d9145ef

Please sign in to comment.