Changeset 555

Show
Ignore:
Timestamp:
10/13/08 06:36:58 (2 months ago)
Author:
smoors
Message:

Bugfix: Check if file exists after saving a song. The old QDir::exists() method worked not as expected..

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libs/hydrogen/src/song.cpp

    r554 r555  
    120120        writer.writeSong( this, filename ); 
    121121 
    122         return !QDir( filename ).exists(); 
     122        return QFile::exists( filename ); 
    123123} 
    124124