-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

If you have set the option "show recent messages" you see the last 5
message when opening a new conversation window. Here problems occur if
you use german umlauts in the owner alias.
The problem ist that owner alias is alway saved in utf8 but licq uses
the user codec from the conversation to decode the alias.

The attached patch is correcting this.


cu
rsLeo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEVPgTuFcJvHsEu9gRAkzFAJ4vZEhH6/5/WEFgJ85gmc/ouhmlDQCgkacv
zwmIJTIw/GpEbdrtgM6/uhE=
=MGDD
-----END PGP SIGNATURE-----
--- licq_orig/plugins/qt-gui/src/usereventdlg.cpp       2006-01-17 
23:19:13.000000000 +0100
+++ licq_patched/plugins/qt-gui/src/usereventdlg.cpp    2006-04-30 
19:21:30.440156072 +0200
@@ -1597,7 +1597,7 @@
         QString ownerName;
         if (o)
         {
-          ownerName = codec->toUnicode(o->GetAlias());
+          ownerName = QString::fromUtf8(o->GetAlias());
           gUserManager.DropOwner(m_nPPID);
         }
         else

Reply via email to