Revision c086a55...

Go back to digest for 25th November 2012

Optimization in Networking Tools

Daniele E. Domenichelli committed changes in [ktp-common-internals/kde-telepathy-0.5] KTp/wallet-interface.cpp:

Avoid calling KWallet::openWallet several times

In order to avoid the problem when kwallet is closed while kcm accounts
is open, we introduced a bug: if more than one openWallet call is done
at the same time, we reset the scoped pointer with a new wallet, the
old wallet is deleted and therefore the signal is never emitted.

This patch uses avoids trying to open the wallet several times if it is
already being opened.

Reviewed-by: George Kiagiadakis
REVIEW: 107426

FIXED-IN: 0.5.2

File Changes

Modified 1 files
  • KTp/wallet-interface.cpp
1 files changed in total