[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    KWallet::openWallet and 0-WinId ?
From:       Martin Koller <kollix () aon ! at>
Date:       2017-05-01 15:33:00
Message-ID: 3402923.DJhUIRZY6z () lapi ! koller
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic