Commit 7421cf58 authored by John Bonn's avatar John Bonn
Browse files

fixed copy constructor

parent 3d3b33e3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ namespace Isis {

    m_isUndoable = true;
    m_isSynchronous = true;

    m_createsCleanState = false;
    m_modifiesDiskState = false;
    m_status = WorkOrderNotStarted;
+11 −11
Original line number Diff line number Diff line
@@ -344,17 +344,7 @@ namespace Isis {
          WorkOrder *m_workOrder;
      };


    private:
      WorkOrder &operator=(const WorkOrder &rhs);

      /**
       * This is defaulted to false. If a work order saves the project to disk, this causes a
       *   'clean' (non-dirty) state. These work orders should call setCreatesCleanState(true)
       *   in their constructor.
       */
      bool m_createsCleanState;

    protected:
      /**
       * This is defaulted to true. If true, the work order will be pushed onto the QUndoStack and the
       * redo and undo methods will be called.  If false, then the work order is not put on the 
@@ -369,6 +359,16 @@ namespace Isis {
        */
       bool m_isSynchronous;

    private:
      WorkOrder &operator=(const WorkOrder &rhs);

      /**
       * This is defaulted to false. If a work order saves the project to disk, this causes a
       *   'clean' (non-dirty) state. These work orders should call setCreatesCleanState(true)
       *   in their constructor.
       */
      bool m_createsCleanState;

      /**
       * This is defaulted to false. If a WorkOrder modifies the project on disk to perform its
       * actions (for example, an import WorkOrder), the WorkOrder should call