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

List:       kde-commits
Subject:    kdeartwork/kscreensaver/kdesavers
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-08-04 10:09:15
Message-ID: 20040804100915.080629905 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

I guess, the installed wallpapers are less likely to contain images you do not
want to be shown by screensaver you're starting to protect your data 


  M +1 -1      slideshow.cpp   1.24


--- kdeartwork/kscreensaver/kdesavers/slideshow.cpp  #1.23:1.24
@@ -136,5 +136,5 @@ void kSlideShowSaver::readConfig()
   mZoomImages = config->readBoolEntry("ZoomImages", false);
   mPrintName = config->readBoolEntry("PrintName", true);
-  mDirectory = config->readPathEntry("Directory", QDir::homeDirPath());
+  mDirectory = config->readPathEntry("Directory", KGlobal::dirs()->findDirs("wallpaper", "").last());
   mDelay = config->readNumEntry("Delay", 10) * 1000;
   mSubdirectory = config->readBoolEntry("SubDirectory", false);


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

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