Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7626 in orxonox.OLD for branches/qt_gui


Ignore:
Timestamp:
May 16, 2006, 9:40:56 AM (19 years ago)
Author:
bensch
Message:

prefs should work, but they do not :(

Location:
branches/qt_gui/src/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/parser/ini_parser/ini_parser.cc

    r7256 r7626  
    108108  if( (stream = fopen (fileName.c_str(), "r")) == NULL)
    109109  {
    110     PRINTF(1)("IniParser could not open %s\n", fileName.c_str());
     110    PRINTF(1)("IniParser could not open %s for reading\n", fileName.c_str());
    111111    return false;
    112112  }
     
    216216  if( (stream = fopen (fileName.c_str(), "w")) == NULL)
    217217  {
    218     PRINTF(1)("IniParser could not open %s\n", fileName.c_str());
     218    PRINTF(1)("IniParser could not open %s for writing\n", fileName.c_str());
    219219    return false;
    220220  }
  • branches/qt_gui/src/lib/parser/ini_parser/ini_parser.h

    r7625 r7626  
    4444
    4545    /** @returns true if the file is opened, false otherwise*/
    46     bool isOpen() const { return (!this->fileName.empty())? true : false; };
     46    bool isOpen() const { return true; } ///HACK //(this->fileName.empty()) ? false : true; };
    4747    /** @returns the fileName we have opened. */
    4848    const std::string& getFileName() const { return this->fileName; };
  • branches/qt_gui/src/lib/util/directory.h

    r7625 r7626  
    6060};
    6161
    62 
    63 
    6462#endif /* __DIRECTORY_H_ */
    6563
  • branches/qt_gui/src/lib/util/preferences.cc

    r7256 r7626  
    314314{
    315315  std::list<std::string> lst;
    316  
     316
    317317  std::list<prefSection>::const_iterator it = data.begin();
    318318
Note: See TracChangeset for help on using the changeset viewer.