From fb1e7c0ab5cd5355732fe668a9ce3210346a52db Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 09:12:41 +0900 Subject: [PATCH] Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- kdpkg-install/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdpkg-install/console.cpp b/kdpkg-install/console.cpp index fa404ce..d5586b3 100644 --- a/kdpkg-install/console.cpp +++ b/kdpkg-install/console.cpp @@ -93,7 +93,7 @@ void console::loadKonsole() KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" ); if (!factory) factory = KLibLoader::self()->factory( "libkonsolepart" ); - konsole = static_cast( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", TQOBJECT_OBJECT_NAME_STRING, "KParts::ReadOnlyPart" ) ); + konsole = static_cast( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) ); terminal()->setAutoDestroy( true ); terminal()->setAutoStartShell( false ); konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());