------- 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=120117         




------- Additional Comments From mi+kde aldan algebra com  2006-05-12 16:48 
-------
That's an ugly patch, if I may... Can't the check for the current_device's 
validity be moved into a single location somewhere, instead of repeating it in 
each method?

Generally, I think, it is wrong to have a function validate its environment and 
arguments every time. If something is not right, the function should not be 
callable in the first place.

A function may only validate things, that only the function knows about (like 
whether the requested gamma makes sense). But the check for whether or not the 
camera *exists* can and should be done prior to calling these function...
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to