Changeset 10912


Ignore:
Timestamp:
06/06/11 12:25:18 (13 years ago)
Author:
ogrimm
Message:
Simplified temporary file handling
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/Edd/Edd.cc

    r10909 r10912  
    3232  // Open temporary files
    3333  Tmpfile = tmpfile();
    34   if(Tmpfile == NULL) {
     34  if(Tmpfile==NULL || !File.open()) {
    3535    QMessageBox::warning(this, "Edd Message", "Could not open temporary file.", QMessageBox::Ok);
    36         return;
    37   }
    38 
    39   if (!File.open()) {
    40         QMessageBox::warning(this, "Edd Message","Could not open temporary file.",QMessageBox::Ok);
    4136        return;
    4237  }
Note: See TracChangeset for help on using the changeset viewer.