[KDE/Mac] more doodling around the OS X keychain integration: programming exercise, yay!
Ian Wadham
iandw.au at gmail.com
Thu Sep 11 07:29:18 UTC 2014
Hi Marko,
On 11/09/2014, at 4:28 PM, Marko Käning wrote:
> 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!
Could be, hence my "(?)". But maybe not a serious one. What is the worst
that could happen? Dr K keeps the wallet open only until Bugzilla (BKO
website) has replied to the login, then Dr K might or might not close it.
> 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. :)
Ha! My Apple IIC is still operational after about 30 years, except for the
joystick. I wore the last of that out when capturing our family levels and
Loderunner game-engine quirks for inclusion in KGoldrunner.
Cheers, Ian W.
More information about the kde-mac
mailing list