Commit cae3452c authored by Tracie Sucharski's avatar Tracie Sucharski
Browse files

undo last commit of SaveProjectAsWorkOrder. Accidently clobbered changes from r7557.

parent 21c0f3ee
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
/**
 * @file
 * $Revision: 1.19 $
 * $Date: 2010/03/22 19:44:53 $
 *
 *   Unless noted otherwise, the portions of Isis written by the USGS are
 *   public domain. See individual third-party library and package descriptions
@@ -33,8 +35,8 @@
namespace Isis {

  /**
   * Creates a work order to save the project to a new location. This work order is not undoable and
   * runs synchronously.
   * Creates a work order to save the project to a new location. This work order is
   * synchronous and not undoable.
   *
   * @param Project *project Pointer to the project this work order belongs to.
   */
@@ -56,7 +58,6 @@ namespace Isis {
   */
  SaveProjectAsWorkOrder::SaveProjectAsWorkOrder(const SaveProjectAsWorkOrder &other) :
      WorkOrder(other) {
    m_isUndoable = other.m_isUndoable;
  }


@@ -66,6 +67,7 @@ namespace Isis {
   * Destructor to clean up any memory that this work order allocates.
   */
  SaveProjectAsWorkOrder::~SaveProjectAsWorkOrder() {

  }


@@ -119,7 +121,6 @@ namespace Isis {
    QString destination = internalData().first();
    if (!destination.isEmpty()) {
      project()->save(destination);
//      project()->relocateProjectRoot(realPath);
    }
  }
}
+7 −5
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
#define SaveProjectAsWorkOrder_H
/**
 * @file
 * $Revision: 1.19 $
 * $Date: 2010/03/22 19:44:53 $
 *
 *   Unless noted otherwise, the portions of Isis written by the USGS are
 *   public domain. See individual third-party library and package descriptions
@@ -37,9 +39,9 @@ namespace Isis {
   * @author 2012-??-?? ???
   *
   * @internal
   *   @history 2017-04-10 Tracie Sucharski - Refactor for the new WorkOrder design, renaming
   *                           execute to setupExecution, and moving the actual work to the execute
   *                           method.
   *   @history 2017-04-11 Ian Humphrey - Updated the work order according to the redesign of
   *                           WorkOrder. Separated setup and execution steps into setupExecution
   *                           and execution(). Fixes #4763.
   */
  class SaveProjectAsWorkOrder : public WorkOrder {
      Q_OBJECT