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

List:       kde-commits
Subject:    KDE/kdelibs/kfile
From:       Paulo Romulo <paulo.romulo () kdemail ! net>
Date:       2010-08-18 17:12:16
Message-ID: 20100818171216.6D79DAC855 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1165258 by promulo:

Changing the Solid predicate to include the UPnP media servers on kfileplaces. \
Approved by Kevin Ottens.

 M  +4 -2      kfileplacesmodel.cpp  


--- trunk/KDE/kdelibs/kfile/kfileplacesmodel.cpp #1165257:1165258
@@ -175,11 +175,13 @@
     d->sharedBookmarks = new KFilePlacesSharedBookmarks(d->bookmarkManager);
 
     d->predicate = Solid::Predicate::fromString(
-        "[[[ StorageVolume.ignored == false AND [ StorageVolume.usage == \
'FileSystem' OR StorageVolume.usage == 'Encrypted' ]]" +        "[[[[ \
StorageVolume.ignored == false AND [ StorageVolume.usage == 'FileSystem' OR \
StorageVolume.usage == 'Encrypted' ]]"  " OR "
         "[ IS StorageAccess AND StorageDrive.driveType == 'Floppy' ]]"
         " OR "
-        "OpticalDisc.availableContent & 'Audio' ]");
+        "OpticalDisc.availableContent & 'Audio' ]"
+        " OR "
+        "StorageAccess.ignored == false ]");
     Q_ASSERT(d->predicate.isValid());
 
     connect(d->bookmarkManager, SIGNAL(changed(const QString&, const QString&)),


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

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