[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 113645] "Use modification date if EXIF not present" does nothing
From:       Charles Samuels <charles () kde ! org>
Date:       2005-09-30 19:49:53
Message-ID: 20050930194953.27759.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=113645         




------- Additional Comments From charles kde org  2005-09-30 21:49 -------
This may be more correct:

Index: imageinfo.cpp
===================================================================
--- imageinfo.cpp       (revision 465667)
+++ imageinfo.cpp       (working copy)
 @ -331,8 +331,8  @
         if ( (mode & EXIFMODE_FORCE) || Options::instance()->trustTimeStamps() ) {
             QDate date = exifInfo.date( &foundDateInExif );
             QTime time = exifInfo.time( &foundTimeInExif );
-            if ( date.isValid() && foundDateInExif ) {
-                if ( time.isValid() && foundTimeInExif )
+            if ( date.isValid() && ( foundDateInExif || (mode & EXIFMODE_FORCE_DATE) \
) ) { +                if ( time.isValid() && ( foundTimeInExif || (mode & \
EXIFMODE_FORCE_DATE) ) )  _date = QDateTime( date, time );
                 else
                     _date = ImageDate( QDateTime( date, QTime( 0,0,0 ) ), QDateTime( \
date, QTime( 23, 59, 59 ) ) );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic