Changeset 620
- Timestamp:
- 11/04/08 18:51:26 (2 months ago)
- Files:
-
- trunk/gui/src/MainForm.cpp (modified) (1 diff)
- trunk/libs/hydrogen/src/local_file_mgr.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gui/src/MainForm.cpp
r570 r620 623 623 if ( err != 0 ) 624 624 { 625 QMessageBox::warning( this, "Hydrogen", trUtf8("Could not export pattern.") ); 625 626 _ERRORLOG ( "Error saving the pattern" ); 626 627 } trunk/libs/hydrogen/src/local_file_mgr.cpp
r436 r620 244 244 245 245 //test if the file exists 246 QFile testfile( sPatternXmlFilename);246 QFile testfile( sPatternXmlFilename ); 247 247 if ( testfile.exists() && mode == 1) 248 248 return 1; … … 289 289 doc.SaveFile(); 290 290 291 291 QFile anotherTestfile( sPatternXmlFilename ); 292 if ( ! anotherTestfile.exists() ) 293 return 1; 292 294 293 295 return 0; // ok
