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

List:       kde-commits
Subject:    KDE/kdelibs/plasma/private
From:       Jeremy Paul Whiting <jpwhiting () kde ! org>
Date:       2010-12-17 3:02:20
Message-ID: 20101217030220.CD75AAC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1207123 by whiting:

Remove previous "preferred" file definition when path changes with single image paths.
BUG:259373


 M  +1 -0      packages.cpp  


--- trunk/KDE/kdelibs/plasma/private/packages.cpp #1207122:1207123
@@ -255,6 +255,7 @@
         findBestPaper();
     } else {
         // dirty trick to support having a file passed in instead of a directory
+        removeDefinition("preferred");
         addFileDefinition("preferred", info.fileName(), i18n("Recommended wallpaper file"));
         setContentsPrefixPaths(QStringList());
         //kDebug() << "changing" << path() << "to" << info.path();
[prev in list] [next in list] [prev in thread] [next in thread] 

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