Hi,

I'm a KDE enthusiast. I have been using it since release 2.0 more or less, but now I want to give back what I've been given by this project. My name is Rafael Fernández López and I'm a computer science student. I've using Kopete from time to time and in general I like it a lot.

So, for introducing myself into KDE 4, and que KDE3-to-4 porting I've decided to contribute small patches to this project. I'm pretty new to this (KDE structure and so on...), but I've developed some apps with QT (and QT 4 too).

Here is my first stupid-patch, but I promise that I will send better patches ;). I just have started with this.

Thank you team,
Rafael Fernández López.
Index: kopete/libkopete/kopetepicture.cpp
===================================================================
--- kopete/libkopete/kopetepicture.cpp  (revisión: 591441)
+++ kopete/libkopete/kopetepicture.cpp  (copia de trabajo)
@@ -71,8 +71,11 @@
 
 Picture &Picture::operator=(const Picture &other)
 {
-       d = other.d;
-       return *this;
+       if( this != &other )
+       {
+               d = other.d;
+               return *this;
+       }
 }
 
 QImage Picture::image()
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to