summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <[email protected]>2014-05-06 17:19:59 +0200
committerMartin Klapetek <[email protected]>2014-05-06 17:19:59 +0200
commit4c51a0298570a24566afb2ffad9c0168918b7334 (patch)
treef1c24cd3249a4a7da507c0ee0bd4566cedda54e0
parent325b9b49e53b8565b5fd97d3fa9e5f91b3f93681 (diff)
Pass proper WId to KWallet
Calling simply winId() returns WId of that particular widget, not of its main window, which is actually what we want
-rw-r--r--src/manager/walletcontrolwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager/walletcontrolwidget.cpp b/src/manager/walletcontrolwidget.cpp
index 7e6020e..37117c2 100644
--- a/src/manager/walletcontrolwidget.cpp
+++ b/src/manager/walletcontrolwidget.cpp
@@ -130,7 +130,7 @@ void WalletControlWidget::onOpenClose()
_wallet = 0;
}
} else {
- _wallet = KWallet::Wallet::openWallet(_walletName, winId());
+ _wallet = KWallet::Wallet::openWallet(_walletName, window()->winId());
}
onSetupWidget();
}