Commit dc6031dd authored by Makayla Shepherd's avatar Makayla Shepherd
Browse files

Got QSettings working for save and save as.

parent 6bdd79a7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -159,7 +159,6 @@ namespace Isis {
      void removeAllViews();

      void readSettings(Project *);
      void writeSettings(Project *project);

    protected:
      void closeEvent(QCloseEvent *event);
+2 −5
Original line number Diff line number Diff line
@@ -2189,15 +2189,13 @@ namespace Isis {
                                                            QString("."));

      if ( !newDestination.isEmpty() ) {
        m_isTemporaryProject = false;
        save( QFileInfo(newDestination + "/").absolutePath() );
        
        
        // delete the temporary project
        deleteAllProjectFiles();
        relocateProjectRoot(newDestination);
        m_isTemporaryProject = false;

        emit projectSaved(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
@@ -2219,7 +2217,6 @@ namespace Isis {
      }

      save(m_projectRoot->absolutePath(), false);
      emit projectSaved(this);
    }

    return saveDialogCompleted;