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

List:       kde-bugs-dist
Subject:    [Bug 57930] New: kslideshow says "No images found" after awhile
From:       Mark <mcguyver () mcguyver ! whyi ! org>
Date:       2003-05-01 3:13:29
[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=57930     
           Summary: kslideshow says "No images found" after awhile when
                    "Random Order" is selected
           Product: kscreensaver
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: howells@kde.org
        ReportedBy: mcguyver@mcguyver.whyi.org


Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

the following diff fixed my problem. but i'm not sure if that was the correct way to fix it

Index: slideshow.cpp
===================================================================
RCS file: /home/kde/kdeartwork/kscreensaver/kdesavers/slideshow.cpp,v
retrieving revision 1.13
diff -u -3 -p -r1.13 slideshow.cpp
--- slideshow.cpp       24 Apr 2003 15:16:38 -0000      1.13
+++ slideshow.cpp       1 May 2003 02:53:29 -0000
@@ -783,7 +783,7 @@ void kSlideShowSaver::loadNextImage()
     if (num <= 0) return;
     mFileIdx = rand() % num;
     fname = mFileList[mFileIdx];
-    mFileList.remove(fname);
+//    mFileList.remove(fname);
   }
   else
   {
[prev in list] [next in list] [prev in thread] [next in thread] 

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