diff options
Diffstat (limited to 'graphics/tripod/ipodexport.cpp.diff')
-rw-r--r-- | graphics/tripod/ipodexport.cpp.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/tripod/ipodexport.cpp.diff b/graphics/tripod/ipodexport.cpp.diff new file mode 100644 index 0000000000..3647246ca2 --- /dev/null +++ b/graphics/tripod/ipodexport.cpp.diff @@ -0,0 +1,11 @@ +--- tripod/src/ipodexportdialog.cpp~ 2007-02-01 10:36:04.000000000 +0100 ++++ tripod/src/ipodexportdialog.cpp 2007-05-29 15:27:19.000000000 +0200 +@@ -494,7 +494,7 @@ + + // get last album. we don't use lastItem() because it returns children. FIXME?? O(n) + QListViewItem *last = m_ipodAlbumList->firstChild(); +- while( last->nextSibling() ) ++ while( last && last->nextSibling() ) + last = last->nextSibling(); + + Itdb_PhotoAlbum *photoAlbum = itdb_photodb_photoalbum_create( m_itdb, QFile::encodeName( newAlbum ), -1/*end*/ ); |