From c8d5b2f5fcecb04d14a3c59b5feaafe0ed423da3 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Sat, 27 Apr 2024 19:59:28 +0200 Subject: [PATCH] porting: from deprecated Part::setComponentData --- part/part.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/part/part.cpp b/part/part.cpp index a3808a5..5f84a3e 100644 --- a/part/part.cpp +++ b/part/part.cpp @@ -73,10 +73,7 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList &args) QTranslator *translator = createTranslator("qtikz"); qApp->installTranslator(translator); - setComponentData(KAboutData("ktikzpart", "KtikZ", APPVERSION)); - // setComponentData(ktikzPartFactory::componentData()); // make sure that the actions of this - // kpart go in a separate section labeled "KtikZ Viewer" (as defined in K_EXPORT_PLUGIN above) - // in the "Configure Shortcuts" dialog + setComponentName("ktikzpart", "KtikZ"); m_configDialog = 0;