Commit 17dcd5a7 authored by Makayla Shepherd's avatar Makayla Shepherd
Browse files

Changed a signals signature to not pass a const reference to the project

parent 8911d5ad
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -1387,7 +1387,8 @@ namespace Isis {
    }
    m_isOpen = true;
    // TODO: TLS 2018-06-07  Why writeSettings here?
    emit projectSave((const Project *)this);
//     emit projectSave(this);
    emit projectLoaded(this);
  }


@@ -2197,7 +2198,7 @@ namespace Isis {
        relocateProjectRoot(newDestination);
        m_isTemporaryProject = false;

        emit projectSave((const Project *)this);
        emit projectSave(this);
        
        // 2014-03-14 kle This is a lame kludge because we think that relocateProjectRoot is not
        // working properly. For example, when we save a new project and try to view a control net
@@ -2217,7 +2218,7 @@ namespace Isis {
      }

      save(m_projectRoot->absolutePath(), false);
      emit projectSave((const Project *)this);
      emit projectSave(this);
    }

    return saveDialogCompleted;
@@ -2430,7 +2431,8 @@ namespace Isis {
    directoryStateWriter.writeEndDocument();
    m_isOpen = true;
    
    emit projectSave((const Project *)this);
    emit projectSave(this);
    
  }


@@ -2509,11 +2511,6 @@ namespace Isis {
  }

  
  void Project::loadProjectSettings() {
    emit projectLoaded(this);
  }
  

  void Project::storeWarning(QString text) {
    m_warnings->append(text);
  }