summaryrefslogtreecommitdiffstats
path: root/knode/knaccountmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knaccountmanager.cpp')
-rw-r--r--knode/knaccountmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knode/knaccountmanager.cpp b/knode/knaccountmanager.cpp
index 627ff4cdd..e8d1ef380 100644
--- a/knode/knaccountmanager.cpp
+++ b/knode/knaccountmanager.cpp
@@ -223,7 +223,7 @@ void KNAccountManager::loadPasswordsAsync()
if ( !mWallet && !mWalletOpenFailed ) {
if ( knGlobals.top )
mWallet = Wallet::openWallet( Wallet::NetworkWallet(),
- knGlobals.topWidget->tqtopLevelWidget()->winId(),
+ knGlobals.topWidget->topLevelWidget()->winId(),
Wallet::Asynchronous );
else
mWallet = Wallet::openWallet( Wallet::NetworkWallet(), 0, Wallet::Asynchronous );
@@ -263,7 +263,7 @@ KWallet::Wallet* KNAccountManager::wallet()
delete mWallet;
if ( knGlobals.top )
mWallet = Wallet::openWallet( Wallet::NetworkWallet(),
- knGlobals.topWidget->tqtopLevelWidget()->winId() );
+ knGlobals.topWidget->topLevelWidget()->winId() );
else
mWallet = Wallet::openWallet( Wallet::NetworkWallet() );