mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kwalletmanager: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
ceba21c739
commit
4d11ad9d72
2 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ QString KWalletConfig::newWallet() {
|
|||
return QString();
|
||||
}
|
||||
|
||||
KWallet::Wallet *w = KWallet::Wallet::openWallet(n, topLevelWidget()->winId());
|
||||
KWallet::Wallet *w = KWallet::Wallet::openWallet(n, window()->winId());
|
||||
if (!w) {
|
||||
return QString();
|
||||
}
|
||||
|
|
|
@ -269,7 +269,7 @@ void KWalletItem::processDropEvent(QDropEvent *e) {
|
|||
if (em->hasFormat(QLatin1String("application/x-kwallet-folder")) ||
|
||||
em->hasFormat(QLatin1String("text/uri-list"))) {
|
||||
// FIXME: don't allow the drop if the wallet name is the same
|
||||
KWallet::Wallet *_wallet = KWallet::Wallet::openWallet(text(), listWidget()->topLevelWidget()->winId());
|
||||
KWallet::Wallet *_wallet = KWallet::Wallet::openWallet(text(), listWidget()->window()->winId());
|
||||
if (!_wallet) {
|
||||
e->ignore();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue