Changeset 49 in tspsg-svn
- Timestamp:
- Aug 2, 2009, 11:01:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tspmodel.cpp
r47 r49 168 168 return false; 169 169 ds.device()->reset(); 170 if (sig == TSPT) 170 if (sig == TSPT) { 171 171 if (!loadTSPT(&ds)) { 172 172 f.close(); 173 173 return false; 174 174 } 175 else if ((sig >> 16) == ZKT)175 } else if ((sig >> 16) == ZKT) { 176 176 if (!loadZKT(&ds)) { 177 177 f.close(); 178 178 return false; 179 179 } 180 else {180 } else { 181 181 QMessageBox(QMessageBox::Critical,trUtf8("Task Load"),trUtf8("Unable to load task:") + "\n" + trUtf8("Unknown file format or file is corrupted."),QMessageBox::Ok).exec(); 182 182 f.close();
Note: See TracChangeset
for help on using the changeset viewer.