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

List:       kde-commits
Subject:    kdegraphics/kamera/kioslave
From:       Marcus Meissner <marcus () jet ! franken ! de>
Date:       2004-03-06 12:42:26
Message-ID: 20040306124226.7E32F995A () office ! kde ! org
[Download RAW message or body]

CVS commit by mm: 

remove "usb:" port only if we have another usb:... port assigned for the same camera.


  M +1 -1      kamera.cpp   1.38


--- kdegraphics/kamera/kioslave/kamera.cpp  #1.37:1.38
@@ -490,5 +490,5 @@ void KameraProtocol::listDir(const KURL 
 
                 /* Avoid duplicated entry for usb: and usb:001,042 entries. */
-                if (ports.contains("usb:") && names.contains(ports["usb:"]))
+                if (ports.contains("usb:") && names[ports["usb:"]]!="usb:")
                         ports.remove("usb:");
 


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

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