KWallet::openWallet and 0-WinId ?

Martin Koller kollix at aon.at
Mon May 1 15:33:00 UTC 2017


Hi,

the Wallet::openWallet() documentation says for the WinId argument:
"The window id to associate any dialogs with. You can pass 0 if you don't have a window the password dialog should associate with."

However passing 0 gives a runtime warning
        qDebug() << "Pass a valid window to KWallet::Wallet::openWallet().";

So what is correct ?

openWallet() is used by a lot PIM resources and all these show the warning when akonaditray is not registered
on the DBUS (which means winId is passed as 0)

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at


More information about the Kde-frameworks-devel mailing list