Ticket #46359: systemsettings-correct-menuplacement.patch

File systemsettings-correct-menuplacement.patch, 747 bytes (added by RJVB (René Bertin), 10 years ago)

systemsettings.app : put the various About menu items in the proper places (menus)

  • systemsettings/app/SettingsBase.cpp

    diff --git systemsettings/app/SettingsBase.cpp systemsettings/app/SettingsBase.cpp
    index 74ccd4f..c08fce7 100644
    void SettingsBase::initHelpMenu() 
    159159    // Add the custom actions
    160160    aboutModuleAction = actionCollection()->addAction( KStandardAction::AboutApp, "help_about_module", this, SLOT(about()) );
    161161    changeAboutMenu( 0, aboutModuleAction, i18n("About Active Module") );
     162    aboutModuleAction->setMenuRole(QAction::NoRole);
    162163    aboutViewAction = actionCollection()->addAction( KStandardAction::AboutApp, "help_about_view", this, SLOT(about()) );
     164    aboutViewAction->setMenuRole(QAction::NoRole);
    163165}
    164166
    165167void SettingsBase::initConfig()