soc.2008.masterpassword: f6f7575b: This seems to be the more correct way to...

qulogic at pidgin.im qulogic at pidgin.im
Sat Nov 12 04:01:32 EST 2011


----------------------------------------------------------------------
Revision: f6f7575b235760e5def43c303eb1034f4253ca8f
Parent:   42572941204f2f9c5050eda06253c840ffda1e43
Author:   qulogic at pidgin.im
Date:     11/12/11 03:45:16
Branch:   im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/f6f7575b235760e5def43c303eb1034f4253ca8f

Changelog: 

This seems to be the more correct way to get a const char * from a
QString.

Changes against parent 42572941204f2f9c5050eda06253c840ffda1e43

  patched  libpurple/plugins/keyrings/kwallet.cpp

-------------- next part --------------
============================================================
--- libpurple/plugins/keyrings/kwallet.cpp	ae99e193519d845fbe97785349fbf8cfd5a50d44
+++ libpurple/plugins/keyrings/kwallet.cpp	1860b8e31584488734f7f87f8c934856890ae46d
@@ -243,7 +243,7 @@ KWalletPlugin::read_request::execute(KWa
 	if (result != 0)
 		abort();
 	else if (callback != NULL)
-		callback(account, (const char *)password, NULL, data);
+		callback(account, password->toUtf8().constData(), NULL, data);
 }
 
 void


More information about the Commits mailing list