From bd4ee3ccc15d0776614a8435850a2eb1faf5a71f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 18:26:21 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- libksirtet/lib/wizard.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libksirtet/lib/wizard.cpp') diff --git a/libksirtet/lib/wizard.cpp b/libksirtet/lib/wizard.cpp index 8618d36d..6bd4451a 100644 --- a/libksirtet/lib/wizard.cpp +++ b/libksirtet/lib/wizard.cpp @@ -43,7 +43,7 @@ MPWizard::MPWizard(const MPGameInfo &gi, ConnectionData &_cd, //----------------------------------------------------------------------------- void MPWizard::setupTypePage() { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); typePage = new TQVBox(this); typePage->setMargin(KDialogBase::marginHint()); @@ -87,7 +87,7 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi) TQSignalMapper *aism = new TQSignalMapper(this); if (gi.AISettingSlot) connect(aism, TQ_SIGNAL(mapped(int)), gi.AISettingSlot); - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); TQString n; PlayerComboBox::Type type; PlayerLine *pl; @@ -135,7 +135,7 @@ void MPWizard::typeChanged(int t) str = "localhost"; lserver->setText(i18n("Hostname:")); } else { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); str = cg.config()->readEntry(MP_SERVER_ADDRESS, i18n("the.server.address")); lserver->setText(i18n("Server address:")); @@ -159,7 +159,7 @@ void MPWizard::lineTypeChanged(int) void MPWizard::accept() { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); cd.network = ( type!=Local ); cd.server = ( type!=Client ); -- cgit v1.2.3