[KDE/Mac] more doodling around the OS X keychain integration: programming exercise, yay!

Marko Käning mk-lists at email.de
Thu Sep 11 06:28:08 UTC 2014


Hi Ian,

On 11 Sep 2014, at 08:04 , Ian Wadham <iandw.au at gmail.com> wrote:
>   //Store if the wallet was previously opened so we can know if we should close it later
>   m_walletWasOpenedBefore = KWallet::Wallet::isOpen(KWallet::Wallet::NetworkWallet());
>   //Request open the wallet
>   m_wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(),
>                                   static_cast<QWidget*>(this->parent())->winId());

race condition prone, isn’t it!

Greets,
Marko


P.S.: BTW, my Atari Mega ST1 is after 25 years still fully operational
      and has even been in regular use by my mom up to 5 years ago. :)


More information about the kde-mac mailing list