[Cmake-commits] [cmake-commits] clinton committed CMakeSetupDialog.cxx 1.65 1.66

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 30 15:02:27 EDT 2009


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv30071

Modified Files:
	CMakeSetupDialog.cxx 
Log Message:
Fix bug #9722.  Report error when not able to create build directory.


Index: CMakeSetupDialog.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeSetupDialog.cxx,v
retrieving revision 1.65
retrieving revision 1.66
diff -C 2 -d -r1.65 -r1.66
*** CMakeSetupDialog.cxx	5 Oct 2009 20:05:40 -0000	1.65
--- CMakeSetupDialog.cxx	30 Oct 2009 19:02:25 -0000	1.66
***************
*** 295,299 ****
        return;
        }
!     dir.mkpath(".");
      }
  
--- 295,306 ----
        return;
        }
!     if(!dir.mkpath("."))
!       {
!       QMessageBox::information(this, tr("Create Directory Failed"), 
!         QString(tr("Failed to create directory %1")).arg(dir.path()), 
!         QMessageBox::Ok);
! 
!       return;
!       }
      }
  



More information about the Cmake-commits mailing list