Skip to content

Commit

Permalink
porting: from deprecated Part::setComponentData
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Apr 27, 2024
1 parent 7108b99 commit c8d5b2f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions part/part.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c8d5b2f

Please sign in to comment.