Commit aef5ba8c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

comment code for the moment in qt6 for making it build

parent 57af104a
Pipeline #196971 passed with stage
in 24 minutes and 11 seconds
......@@ -81,7 +81,11 @@ AgentConfigurationDialog::AgentConfigurationDialog(const AgentInstance &instance
// HACK: the actions are populated from QGuiApplication so they would refer to the
// current application not to the agent, so we have to adjust the strings in some
// of the actions.
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
helpMenu->action(KHelpMenu::menuAboutApp)->setIcon(QIcon::fromTheme(aboutData->programIconName()));
#else
#pragma "NEED TO PORT TO QT6"
#endif
helpMenu->action(KHelpMenu::menuHelpContents)->setText(i18n("%1 Handbook", aboutData->displayName()));
helpMenu->action(KHelpMenu::menuAboutApp)->setText(i18n("About %1", aboutData->displayName()));
btnBox->addButton(QDialogButtonBox::Help)->setMenu(menu);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment