Hi all,

JFYI, i commented out some redundant code in videodevicepool.cpp (3.5 branch). The needless block cause crashes, when searching for video devices, because m_current_device is left uninitialized.

Tom


--
--------------------------------------------
Tom Patzig <[EMAIL PROTECTED]>
Novell /  SUSE
SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex

--- kopete/libkopete/avdevice/videodevicepool.cpp.orig	2007-09-24 12:44:02.000000000 +0200
+++ kopete/libkopete/avdevice/videodevicepool.cpp	2007-09-24 12:44:32.000000000 +0200
@@ -688,6 +688,7 @@
 			kdDebug() << k_funcinfo << "Found no suitable devices in " << videodevice_dir_path << endl;
 			return EXIT_FAILURE;
 		}
+/*
 		QFileInfoListIterator fileiterator ( *list );
 		QFileInfo *fileinfo;
 
@@ -711,6 +712,7 @@
 
 
 		return EXIT_FAILURE;
+*/
 	}
 	QFileInfoListIterator fileiterator ( *list );
 	QFileInfo *fileinfo;
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to